示例#1
0
 /**
  * @see	\wcf\data\ProcessibleDatabaseObject::getProcessor()
  */
 public function getProcessor()
 {
     if (parent::getProcessor() === null) {
         $this->processor = new DefaultPageMenuItemProvider($this);
     }
     return $this->processor;
 }
示例#2
0
 /**
  * @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();
     }
 }
示例#3
0
 /**
  * @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);
 }