X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/2c915a3f4d69c5c4d28064cf5e4a7b5b3dbc6d75..135039abac08f9546a61b742efd7d921193a2b52:/lib/MLIB/Tpl.php diff --git a/lib/MLIB/Tpl.php b/lib/MLIB/Tpl.php index 853d43a..e1f82c6 100644 --- a/lib/MLIB/Tpl.php +++ b/lib/MLIB/Tpl.php @@ -31,40 +31,6 @@ $Id$ */ 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. * @@ -72,13 +38,11 @@ class MLIB_Tpl { * @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); }