Commit 15f3385d by Alexander Kochetov

SluggableBehavior phpDoc updated

parent f368cff3
...@@ -12,9 +12,9 @@ use yii\db\BaseActiveRecord; ...@@ -12,9 +12,9 @@ use yii\db\BaseActiveRecord;
use yii\helpers\Inflector; use yii\helpers\Inflector;
/** /**
* SluggableBehavior automatically fills the specified attribute with the transliteration result of another attribute. * SluggableBehavior automatically fills the specified attribute with the transliterated and adjusted version to use in URLs.
* *
* To use SluggableBehavior, simply insert the following code to your ActiveRecord class: * To use SluggableBehavior, insert the following code to your ActiveRecord class:
* *
* ```php * ```php
* use yii\behaviors\SluggableBehavior; * use yii\behaviors\SluggableBehavior;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment