behaviors\SluggableBehavior $ensureUnique
  • References/PHP/Yii/behaviors/SluggableBehavior

$ensureUnique public property Whether to ensure generated slug

2025-01-10 15:47:30
behaviors\SluggableBehavior $slugAttribute
  • References/PHP/Yii/behaviors/SluggableBehavior

$slugAttribute public property The attribute that will receive

2025-01-10 15:47:30
behaviors\SluggableBehavior $immutable
  • References/PHP/Yii/behaviors/SluggableBehavior

$immutable public property (available since version 2.0.2) Whether

2025-01-10 15:47:30
behaviors\SluggableBehavior generateSlug()
  • References/PHP/Yii/behaviors/SluggableBehavior

generateSlug() protected method This method is called

2025-01-10 15:47:30
behaviors\SluggableBehavior getValue()
  • References/PHP/Yii/behaviors/SluggableBehavior

getValue() protected method Returns the value for the

2025-01-10 15:47:30
behaviors\SluggableBehavior validateSlug()
  • References/PHP/Yii/behaviors/SluggableBehavior

validateSlug() protected method Checks if given slug value

2025-01-10 15:47:30
behaviors\SluggableBehavior $uniqueSlugGenerator
  • References/PHP/Yii/behaviors/SluggableBehavior

$uniqueSlugGenerator public property Slug unique value generator

2025-01-10 15:47:30
behaviors\SluggableBehavior $attribute
  • References/PHP/Yii/behaviors/SluggableBehavior

$attribute public property The attribute or list of attributes

2025-01-10 15:47:30
behaviors\SluggableBehavior makeUnique()
  • References/PHP/Yii/behaviors/SluggableBehavior

makeUnique() protected method (available since version 2.0.7) This

2025-01-10 15:47:30
behaviors\SluggableBehavior init()
  • References/PHP/Yii/behaviors/SluggableBehavior

init() public method Initializes the object.

2025-01-10 15:47:30