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); }
public function __get($name) { if (isset($this->_champs[$name])) { return $this->_champs[$name]; } parent::__get($name); }
public function __construct($apiClient, $array = NULL) { parent::__construct($apiClient, $array); $this->_accesPrestations = $this->_fichesPrestation; }