Example #1
0
 public function __construct($filename, $action)
 {
     $this->_xml = simplexml_load_string('<?xml version="1.0" encoding="UTF-8"?><xml/>');
     $this->_filename = $filename;
     $this->_action = $action;
     Siberian_View::setLayout($this);
     return $this;
 }
Example #2
0
 public function unload()
 {
     $this->_base_render = null;
     $this->_partials = array();
     $this->_partialshtml = array();
     $this->_baseActionLayout = null;
     $this->_actionLayout = null;
     $this->_baseDefaultLayout = null;
     $this->_defaultLayout = null;
     $this->_otherLayout = array();
     $this->_xml = simplexml_load_string('<?xml version="1.0" encoding="UTF-8"?><xml/>');
     $this->_is_loaded = false;
     Siberian_View::setLayout($this);
     return $this;
 }