/** * taoLti_actions_RestService constructor. * Pass model service to handle http call business */ public function __construct() { if (strtolower($this->getRequestMethod()) !== 'get') { throw new \common_exception_NoImplementation(); } parent::__construct(); $this->service = LtiRestApiService::singleton(); }
/** * Optionnaly a specific rest controller may declare * aliases for parameters used for the rest communication */ protected function getParametersAliases() { return array_merge(parent::getParametersAliases(), array()); }
/** * Optionnaly a specific rest controller may declare * aliases for parameters used for the rest communication */ protected function getParametersAliases() { return array_merge(parent::getParametersAliases(), array("model" => taoItems_models_classes_ItemsService::PROPERTY_ITEM_MODEL, "content" => taoItems_models_classes_ItemsService::PROPERTY_ITEM_CONTENT)); }
/** * Optionnaly a specific rest controller may declare * aliases for parameters used for the rest communication */ protected function getParametersAliases() { return array_merge(parent::getParametersAliases(), array("login" => PROPERTY_USER_LOGIN, "password" => PROPERTY_USER_PASSWORD, "guiLg" => PROPERTY_USER_UILG, "dataLg" => PROPERTY_USER_DEFLG, "firstName" => PROPERTY_USER_FIRSTNAME, "lastName" => PROPERTY_USER_LASTNAME, "mail" => PROPERTY_USER_MAIL, "type" => RDF_TYPE)); }
/** * Optionnaly a specific rest controller may declare * aliases for parameters used for the rest communication */ protected function getParametersAliases() { return array_merge(parent::getParametersAliases(), array("model" => TAO_RESULTSERVER_MODEL_PROP)); }
/** * Optionnaly a specific rest controller may declare * aliases for parameters used for the rest communication */ protected function getParametersAliases() { return array_merge(parent::getParametersAliases(), array("model" => TAO_ITEM_MODEL_PROPERTY, "content" => TAO_ITEM_CONTENT_PROPERTY)); }