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

Please login to continue.