Esempio n. 1
0
 function __sleep()
 {
     //don't save this stuff - temporary and too long
     foreach ($this->noSleep as $temp) {
         if (is_array($this->{$temp})) {
             $this->{$temp} = array();
         } else {
             $this->{$temp} = false;
         }
     }
     $this->sleepers = COM_sleep($this);
     return array_keys(get_object_vars($this));
 }
Esempio n. 2
0
 function __sleep()
 {
     $this->sleepers = COM_sleep($this);
     return array_keys(get_object_vars($this));
 }