getCurrentUserObject()->getId(), $name ); if ( $retarr == true ) { return $this->returnHandler( $retarr ); } return $this->returnHandler( true ); } /** * @param $name * @param $value * @param int $type_id * @return array|bool */ function setUserSetting( $name, $value, $type_id = 10 ) { $retval = UserSettingFactory::setUserSetting( $this->getCurrentUserObject()->getId(), $name, $value, $type_id ); return $this->returnHandler( $retval ); } /** * @param $name * @return array|bool */ function deleteUserSetting( $name ) { $retval = UserSettingFactory::deleteUserSetting( $this->getCurrentUserObject()->getId(), $name ); return $this->returnHandler( $retval ); } } ?>