behaviors\SluggableBehavior makeUnique()

makeUnique() protected method (available since version 2.0.7)

This method is called by getValue() when $ensureUnique is true to generate the unique slug.

Calls generateUniqueSlug() until generated slug is unique and returns it.

See also:

protected string makeUnique ( $slug )
$slug string

Basic slug value

return string

Unique slug

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

Please login to continue.