function __destruct()
 {
     parent::__destruct();
     unset($this->_replacments);
     unset($this->_nessted);
     unset($this->_parent_template);
     unset($this->output);
 }
 function __destruct()
 {
     parent::__destruct();
     if (!empty($this->_db)) {
         unset($this->_db);
     }
     if (!empty($this->_query)) {
         unset($this->_query);
     }
 }
示例#3
0
 function __destruct()
 {
     parent::__destruct();
     if (!empty($this->_template)) {
         $this->_template->__destruct();
         unset($this->_template);
     }
     unset($this->_configuration);
     if (!empty($this->_parent_template)) {
         unset($this->_parent_template);
     }
 }