public function init() { parent::init(); if (!OW::getUser()->isAuthenticated()) { throw new ApiAccessException(ApiAccessException::TYPE_NOT_AUTHENTICATED); } }
public function __construct() { parent::__construct(); $pm = OW::getPluginManager(); self::$basicNames[] = OW::getConfig()->getValue('base', 'display_name_question'); self::$basicNames[] = 'birthdate'; self::$basicNames[] = 'sex'; if ($pm->isPluginActive('googlelocation')) { self::$basicNames[] = 'googlemap_location'; } self::$searchFilledNames[] = 'sex'; if ($pm->isPluginActive('googlelocation')) { self::$searchFilledNames[] = 'googlemap_location'; } self::$searchFilledNames[] = 'relationship'; self::$searchFilledNames[] = 'birthdate'; self::$searchBasicNames[] = 'sex'; self::$searchBasicNames[] = 'match_sex'; if ($pm->isPluginActive('googlelocation')) { self::$searchBasicNames[] = 'googlemap_location'; } self::$searchBasicNames[] = 'relationship'; self::$searchBasicNames[] = 'birthdate'; }
public function __construct() { parent::__construct(); self::$basicNames = array(OW::getConfig()->getValue('base', 'display_name_question'), 'birthdate', 'sex', 'googlemap_location'); self::$priorityNames = array('match_sex', 'aboutme', 'relationship', 'aboutmymatch'); }
public function __construct() { parent::__construct(); }