Esempio n. 1
0
 public function __get($name)
 {
     if ($name == "array" || $name == "position" || $name == "count") {
         throw new Api("la propriété {$name} n'existe pas pour " . get_class($this));
     }
     parent::__get($name);
 }
Esempio n. 2
0
 public function __get($name)
 {
     if (isset($this->_champs[$name])) {
         return $this->_champs[$name];
     }
     parent::__get($name);
 }
Esempio n. 3
0
 public function __construct($apiClient, $array = NULL)
 {
     parent::__construct($apiClient, $array);
     $this->_accesPrestations = $this->_fichesPrestation;
 }