Exemple #1
0
 public function __get($columnName)
 {
     if ($columnName == 'description') {
         return $this->describe();
     } else {
         return parent::__get($columnName);
     }
 }
Exemple #2
0
 public function __get($columnName)
 {
     if ($this->_data['id']) {
         if (!$this->configValues) {
             $this->configValues = $this->getConfigValues();
         }
     }
     if (array_key_exists($columnName, $this->configValues)) {
         return $this->configValues[$columnName];
     }
     return parent::__get($columnName);
 }