Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 3
0
 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();
 }
Ejemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     $this->service = CrudService::singleton();
 }