* Hooks vs IT (HIT) is a simple template implementation, based on hooks and IT
* template systems.
*
+ *
* @note This class was originally created as a part of BIFE.
* @author Leandro Lucarella <luca@llucax.hn.org>
* @todo Add a global example and an explanation of the directory structure to
}
/**
- * @copydoc MLIB_Tpl::pushGroup()
+ * Push a new item into the group array.
+ *
+ * @param group Item to be added on the group array.
+ *
+ * @todo Add an example.
*/
function pushGroup($group = '')
{
}
/**
- * @copydoc MLIB_Tpl::popGroup()
+ * Pops the actual group from the group array.
+ *
+ * @return mixed.
+ * @todo Add an example.
*/
function popGroup()
{
}
/**
- * @copydoc MLIB_Tpl::getGroup()
+ * Returns the last element of the group array.
+ *
+ * @return mixed.
+ * @todo Add an example.
*/
function getGroup()
{
}
/**
- * @copydoc MLIB_Tpl::exists()
+ * Checks if a certain template file exists.
+ *
+ * @param name Template file name.
+ * @param group If it is true, search in the group directory, otherwise
+ * checks only in the root path.
+ *
+ * @return bool.
+ * @todo Add an example.
*/
function exists($name, $group = null)
{
}
+/**
+ * @example Tpl/FileDir/test.php
+ *
+ * This example will create an HTML page with a header, body and a footer.
+ * In order to do this, I will use three template groups (header, body, footer).
+ * All this templates are located in TPLS directory.
+ */
+
?>