__isset() public method
Checks if a property is set, i.e. defined and not null.
This method will check in the following order and act accordingly:
- a property defined by a setter: return whether the property is set
- a property of a behavior: return whether the property is set
- return
false
for non existing properties
Do not call this method directly as it is a PHP magic method that will be implicitly called when executing isset($component->property)
.
public boolean __isset ( $name ) | ||
---|---|---|
$name | string |
The property name or the event name |
return | boolean |
Whether the named property is set |
Please login to continue.