コード例 #1
0
ファイル: ObjectList.php プロジェクト: sitecresa/toolkit
 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);
 }
コード例 #2
0
 public function __get($name)
 {
     if (isset($this->_champs[$name])) {
         return $this->_champs[$name];
     }
     parent::__get($name);
 }
コード例 #3
0
 public function __construct($apiClient, $array = NULL)
 {
     parent::__construct($apiClient, $array);
     $this->_accesPrestations = $this->_fichesPrestation;
 }