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)); }
function __sleep() { $this->sleepers = COM_sleep($this); return array_keys(get_object_vars($this)); }