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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.