/** * @see \wcf\data\ProcessibleDatabaseObject::getProcessor() */ public function getProcessor() { if (parent::getProcessor() === null) { $this->processor = new DefaultPageMenuItemProvider($this); } return $this->processor; }
/** * @see wcf\data\DatabaseObject::handleData() */ protected function handleData($data) { parent::handleData($data); $this->data['additionalData'] = @unserialize($this->data['additionalData']); if (!is_array($this->data['additionalData'])) { $this->data['additionalData'] = array(); } }
/** * @see \wcf\data\DatabaseObject::handleData() */ protected function handleData($data) { // handle additional data $data['additionalData'] = @unserialize($data['additionalData']); if (!is_array($data['additionalData'])) { $data['additionalData'] = array(); } parent::handleData($data); }