public function __isset($name) { if ($this->fileInputName == $name) { return true; } return parent::__isset($name); }
public function __isset($name) { $rels = array_flip($this->directoryAttributes); if (isset($rels[$name])) { return $this->getDirectory($rels[$name]) !== null; } return parent::__isset($name); }
/** * Checks if a property is set, i.e. defined and not null. * * Do not call this method directly as it is a PHP magic method that * will be implicitly called when executing `isset($object->property)`. * * Note that if the property is not defined, false will be returned. * * @param string $name the property name or the event name * * @return boolean whether the named property is set (not null). * @see http://php.net/manual/en/function.isset.php */ public function __isset($name) { if (!parent::__isset($name)) { return $this->hasTranslateAttribute($name); } else { return true; } }
public function __isset($name) { return $this->hasAttribute($name) || parent::__isset($name); }
/** * @inheritdoc */ public function __isset($name) { if ($this->transformedPropertyExists($name)) { return $this->getTransformedProperty($name) !== null; } return parent::__isset($name); }
/** * @inheritdoc */ public function __isset($name) { if (!parent::__isset($name)) { return $this->isUploadAttribute($name); } else { return true; } }
/** * @inheritdoc */ public function __isset($name) { if (stripos($name, 'client') === 0) { return strcasecmp($name, 'clientId') == 0 || $this->getClientProperty(strtolower($name)) !== null; } else { return parent::__isset($name); } }
/** * @inheritdoc * Magic PHP method. Besides parent logic the method adds magic properties `as{Format}`. */ public function __isset($name) { if (!parent::canGetProperty($name, false) && $this->hasFileAttribute($name)) { return true; } return parent::__isset($name); }