protected function set_properties() { parent::set_properties(); $this->get_category()->set_color($this->form->get_value('color')); }
protected function set_properties() { parent::set_properties(); $this->get_category()->set_description($this->form->get_value('description')); $this->get_category()->set_image(new Url($this->form->get_value('image'))); }
protected function set_properties() { parent::set_properties(); $this->get_category()->set_description($this->form->get_value('description')); if ($this->get_category()->get_type() == ForumCategory::TYPE_URL) { } $this->get_category()->set_url($this->form->get_value('url')); }