validators\ExistValidator createQuery()

createQuery() protected method

Creates a query instance with the given condition.

protected yii\db\ActiveQueryInterface createQuery ( $targetClass, $condition )
$targetClass string

The target AR class

$condition mixed

Query condition

return yii\db\ActiveQueryInterface

The query instance

doc_Yii
2016-10-30 17:13:36
Comments
Leave a Comment

Please login to continue.