behaviors\SluggableBehavior validateSlug()

validateSlug() protected method

Checks if given slug value is unique.

protected boolean validateSlug ( $slug )
$slug string

Slug value

return boolean

Whether slug is unique.

doc_Yii
2016-10-30 16:52:53
Comments
Leave a Comment

Please login to continue.