Пример #1
0
 /**
  * @param string $action
  * @param array $criteria
  * @param array $postData
  * @return array|void
  * @throws Exception
  */
 public function operate($action = '', array $criteria = [], array $postData = [])
 {
     if (!$this->_client->getAuth()->getUserData()) {
         throw new Exception("NOT AUTHENTICATED IN ISIDORE");
     }
     return $this->getManager()->operate($action, $criteria, $postData);
 }
Пример #2
0
 /**
  * Récupére les stores
  *
  * @return array
  */
 public function getStores()
 {
     $res = $this->_client->operate('controller/Fidesio.webservice.ServiceStore--getStores');
     return $res;
 }