public function __init() { parent::__init(); // TODO: Change the autogenerated stub $this->content = ''; if (!empty($this->localizedData)) { $this->name = defPr($this->localizedData['name'], ''); $this->content = defPr($this->localizedData['content'], ''); } }
protected function __init() { parent::__init(); $this->category_id = defPr($this->getProperty('category_id'), ''); }