gii\Generator validateClass()

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

doc_Yii
2016-10-30 17:03:08
Comments
Leave a Comment

Please login to continue.