public function set_value($sValue) { $this->_value = ComponentText::clean_for_html($sValue); }
public function update(ComponentText $componentText) { $result = $this->componentTextDao->get($componentText->getId()); ResultHelper::whenEmpty($result, AppLabelUtil::$ERROR_COMPONENT_NOT_FOUND, HttpStatusCode::badRequest()); return $this->componentTextDao->update($componentText); }