function __construct($context = FALSE) { if ($context) { parent::__construct(__EXTOBJ_NO_INIT__, $context); } else { parent::__construct(__EXTOBJ_NO_INIT__); } }
function __construct($template, $params = array(), $engine = 'php', $context = FALSE) { $this->_template = $template; $this->_params = (array) $params; $this->_engine = $engine; parent::__construct(); }