getCurrentCompanyObject()->getId(), $name ); return $this->returnHandler( $retarr ); } /** * @param $name * @param $value * @param int $type_id * @return array */ function setCompanySetting( $name, $value, $type_id = 10 ) { $retval = CompanySettingFactory::setCompanySetting( $this->getCurrentCompanyObject()->getId(), $name, $value, $type_id ); return $this->returnHandler( $retval ); } /** * @param $name * @return array */ function deleteCompanySetting( $name ) { $retval = CompanySettingFactory::deleteCompanySetting( $this->getCurrentCompanyObject()->getId(), $name ); return $this->returnHandler( $retval ); } } ?>