protected function restore() { $this->transport =& $this->data['transport']; $this->transport->restore(); }
public function __wakeup() { parent::__wakeup(); $this->source = new waModel(array('host' => $this->options['host']['value'], 'user' => $this->options['user']['value'], 'password' => $this->options['password']['value'], 'database' => $this->options['database']['value'])); }