behaviors\SluggableBehavior isNewSlugNeeded()

isNewSlugNeeded() protected method (available since version 2.0.7)

Checks whether the new slug generation is needed This method is called by getValue() to check whether the new slug generation is needed.

You may override it to customize checking.

protected boolean isNewSlugNeeded ( )
doc_Yii
2016-10-30 16:52:53
Comments
Leave a Comment

Please login to continue.