validateClass() public method
An inline validator that checks if the attribute value refers to an existing class name.
If the extends option is specified, it will also check if the class is a child class of the class represented by the extends option.
| public void validateClass ( $attribute, $params ) | ||
|---|---|---|
| $attribute | string | 
 The attribute being validated  |  
| $params | array | 
 The validation options  |  
Please login to continue.