Example #1
0
 function vivvo_file($site_manager, $filename, $dir, $root_dir)
 {
     parent::vivvo_object($site_manager);
     $this->set__root_dir($root_dir);
     $this->set_dir($dir);
     $this->filename = $filename;
     $this->set_extension();
     $this->set_size();
     $this->set_icon();
     $this->set_info();
     $this->set_time();
     $this->set_mtime();
     $this->set_changed();
     $this->set_writeable();
 }
 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);
     }
 }
Example #4
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);
     }
 }