Exemple #1
0
 /**
  * @inheritdoc
  */
 public function __isset($name)
 {
     if (array_key_exists($name, $this->data)) {
         return isset($this->data[$name]);
     } else {
         return parent::__isset($name);
     }
 }
Exemple #2
0
 /**
  * @inheritdoc
  */
 public function __isset($name)
 {
     if (array_key_exists($name, $this->_attributes)) {
         return isset($this->_attributes[$name]);
     } else {
         return parent::__isset($name);
     }
 }