Пример #1
0
 public function __isset($name)
 {
     if ($this->hasComponent($name)) {
         return $this->getComponent($name) !== null;
     } else {
         return parent::__isset($name);
     }
 }
Пример #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);
     }
 }
Пример #3
0
 public function __isset($name)
 {
     return parent::__isset($name);
 }
Пример #4
0
 public function __isset($name)
 {
     return isset($this->_match[$name]) || isset($this->_attributes[$name]) || parent::__isset($name);
 }
Пример #5
0
 /**
  * @param string $name
  * @return bool
  */
 public function __isset($name)
 {
     if ($this->{$name} !== null) {
         return true;
     }
     return parent::__isset($name);
 }
Пример #6
0
 /**
  * (non-PHPdoc)
  * @see CComponent::__isset()
  */
 public function __isset($name)
 {
     if (isset($this->_results[$name])) {
         return true;
     }
     return parent::__isset($name);
 }