hasProperty() public method
Returns a value indicating whether a property is defined for this component.
A property is defined if:
- the class has a getter or setter method associated with the specified name (in this case, property name is case-insensitive);
 - the class has a member variable with the specified name (when 
$checkVarsis true); - an attached behavior has a property of the given name (when 
$checkBehaviorsis true). 
See also:
| public boolean hasProperty ( $name, $checkVars = true, $checkBehaviors = true ) | ||
|---|---|---|
| $name | string | 
 The property name  |  
| $checkVars | boolean | 
 Whether to treat member variables as properties  |  
| $checkBehaviors | boolean | 
 Whether to treat behaviors' properties as properties of this component  |  
| return | boolean | 
 Whether the property is defined  |  
Please login to continue.