/** * Modify parent constructor * */ public function __construct($options = null, $initMvc = false) { Vi_Language::$currentType = Vi_Language::TYPE_LAYOUT; // Vi_Language::$currentName = &$this->_layout; return parent::__construct($options, $initMvc); }
public function __construct($options = null, $initMvc = false) { $this->_xml = simplexml_load_string('<?xml version="1.0" encoding="UTF-8"?><xml/>'); Siberian_View::setLayout($this); parent::__construct($options, $initMvc); }