/** * 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(); }
public function __construct() { parent::__construct(); $this->service = taoResults_models_classes_CrudResultsService::singleton(); }
public function __construct() { parent::__construct(); //The service taht implements or inherits get/getAll/getRootClass ... for that particular type of resources $this->service = taoItems_models_classes_CrudItemsService::singleton(); }
public function __construct() { parent::__construct(); $this->service = CrudService::singleton(); }