gii\Generator validateNewClass()

validateNewClass() public method

An inline validator that checks if the attribute value refers to a valid namespaced class name.

The validator will check if the directory containing the new class file exist or not.

public void validateNewClass ( $attribute, $params )
$attribute string

The attribute being validated

$params array

The validation options

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

Please login to continue.