Exemplo n.º 1
0
 public function __isset($name)
 {
     if ($this->hasComponent($name)) {
         return $this->getComponent($name) !== null;
     } else {
         return parent::__isset($name);
     }
 }
Exemplo n.º 2
0
 /**
  * Checks if a attribute value is null.
  * This method overrides the parent implementation by checking
  * if the attribute is null or not.
  *
  * @param string $name the attribute name.
  * @return boolean whether the attribute value is null.
  */
 public function __isset($name)
 {
     if ($this->hasAttribute($name)) {
         return true;
     } else {
         return parent::__isset($name);
     }
 }
Exemplo n.º 3
0
 public function __isset($name)
 {
     return parent::__isset($name);
 }
Exemplo n.º 4
0
 public function __isset($name)
 {
     return isset($this->_match[$name]) || isset($this->_attributes[$name]) || parent::__isset($name);
 }
Exemplo n.º 5
0
 /**
  * @param string $name
  * @return bool
  */
 public function __isset($name)
 {
     if ($this->{$name} !== null) {
         return true;
     }
     return parent::__isset($name);
 }
Exemplo n.º 6
0
 /**
  * (non-PHPdoc)
  * @see CComponent::__isset()
  */
 public function __isset($name)
 {
     if (isset($this->_results[$name])) {
         return true;
     }
     return parent::__isset($name);
 }