behaviors\SluggableBehavior $ensureUnique

$ensureUnique public property

Whether to ensure generated slug value to be unique among owner class records. If enabled behavior will validate slug uniqueness automatically. If validation fails it will attempt generating unique slug value from based one until success.

public boolean $ensureUnique = false
doc_Yii
2016-10-30 16:52:50
Comments
Leave a Comment

Please login to continue.