behaviors\SluggableBehavior generateUniqueSlug()

generateUniqueSlug() protected method

Generates slug using configured callback or increment of iteration.

protected string generateUniqueSlug ( $baseSlug, $iteration )
$baseSlug string

Base slug value

$iteration integer

Iteration number

return string

New slug value

throws yii\base\InvalidConfigException
doc_Yii
2016-10-30 16:52:52
Comments
Leave a Comment

Please login to continue.