*/
class MLIB_Tpl {
- /**
- * Constructor. Backward compatibility ( < PHP5 ).
- *
- * @param string $root Root directory where template files are.
- * @param bool $useIncludePath If it's true, it looks for template files in
- * PHP's include_path.
- * @param string $group Group of templates to use (a subdirectory in root).
- *
- * @access public
- * @return void
- */
- function MLIB_Tpl($root = '.', $useIncludePath = false, $group = '')
- {
- //Aca no sabia si hacer
- //$this->__construct($root, $useIncludePath, $group);
- trigger_error('Not implemented!', E_USER_WARNING);
- }
-
- /**
- * Constructor. (PHP5)
- *
- * @param string $root Root directory where template files are.
- * @param bool $useIncludePath If it's true, it looks for template files in
- * PHP's include_path.
- * @param string $group Group of templates to use (a subdirectory in root).
- *
- * @access public
- * @return void
- */
- function __construct($root = '.', $useIncludePath = false, $group = '')
- {
- trigger_error('Not implemented!', E_USER_WARNING);
- }
-
/**
* Returns a parsed template.
*
* @param mixed $vars Variables to replace in the template.
* @param string $val If $vars is a string, the value to replace
* for $vars.
- * @param mixed $group Group to use to parse this template.
- * null to use the current group.
*
* @access public
* @return mixed
*/
- function parse($name, $vars = '', $val = '', $group = null)
+ function parse($name, $vars = '', $val = '')
{
trigger_error('Not implemented!', E_USER_WARNING);
}