Browse Source

SluggableBehavior phpDoc updated

tags/2.0.0-rc
Alexander Kochetov 10 years ago
parent
commit
15f3385d53
  1. 4
      framework/behaviors/SluggableBehavior.php

4
framework/behaviors/SluggableBehavior.php

@ -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;

Loading…
Cancel
Save