_registry->get( 'helper.api-settings' ); $settings->set( 'ai1ec_api', $status ); } /** * Get the current status of the API ticketing variables. * * @return boolean with the result combination of the two boolean * variables ai1ec_api_ticketing and ai1ec_api. */ public function ai1ec_api_enabled() { $settings = $this->_registry->get( 'helper.api-settings' ); $api = $settings->get( 'ai1ec_api' ); return $api; } }