Commit Graph

29 Commits

Author SHA1 Message Date
Herbert Maschke
b58fee7d37 Fixes #13035: Use ArrayHelper::getValue() in SluggableBehavior::getValue() 2016-11-22 13:20:45 +03:00
Robert Korulczyk
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
Carsten Brandt
217d50e4ff improved PHPdoc and @since annotations 2016-07-11 12:58:43 +02:00
Nikola Kovacs
9d327baa8b coding style fixes 2016-05-26 11:19:32 +02:00
Alexander Makarov
73803ff28b Fixes #8422: added note to behaviors explaining that there's no sense in validating attributes there are set automatically 2016-04-30 21:05:33 +03:00
SilverFire - Dmitry Naumenko
6936c41cf1 SluggableBahavior - PHPDoc and code style fixed; validateSlug, generateUniqueSlug - private -> protected 2016-01-23 10:42:56 +02:00
Hesam Khaki
bd6b70b470 fixes some coding styles in sluggableBehavior 2016-01-23 10:42:56 +02:00
Hesam Khaki
a8dfd50078 numerous refactors for SluggabeBehavior class 2016-01-23 10:42:56 +02:00
Carsten Brandt
e2c8c08875 made it easier to extend SluggableBehavior slug generation
fixes #10118
2015-11-07 16:59:24 +01:00
Qiang Xue
654dbbb29e Fixes #6678: yii\behaviors\SluggableBehavior will generate a new slug only when the slug attribute is empty or the source attribute is changed 2014-12-28 11:31:18 -05:00
Qiang Xue
58516ae8a9 Fixes #6434: Added yii\behaviors\SluggableBehavior::immutable to support keeping the generated slug unchanged 2014-12-15 22:19:09 -05:00
Eugine Terentev
4dd15a669f Adds immutable property fit SluggableBehavior fixes #6430 2014-12-15 22:02:49 -05:00
Alexander Mohorev
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
Klimov Paul
0a709b10a0 Model parameter added to yii\behaviors\Sluggable::uniqueSlugGenerator callback 2014-08-12 16:45:57 +03:00
Klimov Paul
c072cc2eaf yii\behaviors\Sluggable adjusted 2014-08-12 12:24:08 +03:00
Klimov Paul
101d771ecf yii\behaviors\Sluggable::validateSlug() fixed to respect updating record 2014-08-12 12:01:23 +03:00
Klimov Paul
f27254b9aa yii\behaviors\Sluggable simplified 2014-08-12 11:43:15 +03:00
Klimov Paul
d362af6ede yii\behaviors\Sluggable optimized 2014-08-12 11:36:50 +03:00
Klimov Paul
b062a6601d Default event for yii\behaviors\Sluggable with unique enabled changed to 'insert'. 2014-08-11 18:04:18 +03:00
Klimov Paul
327914e452 Added automatic generating of unique slug value to yii\behaviors\Sluggable 2014-08-11 17:43:00 +03:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Alexander Kochetov
c7b51e2565 \yii\behaviors\SluggableBehavior updated 2014-07-23 22:58:30 -04:00
Qiang Xue
785b027dbf doc update [skip ci] 2014-06-18 17:45:10 -04:00
Alexander Kochetov
038257e3ed SluggableBehavior phpDoc updated 2014-06-18 19:31:39 +04:00
Alexander Kochetov
15f3385d53 SluggableBehavior phpDoc updated 2014-06-18 19:14:23 +04:00
Alexander Kochetov
f368cff3ec SluggableBehavior phpDoc updated 2014-06-18 19:10:17 +04:00
Alexander Kochetov
031c9cca06 SluggableBehavior phpDoc added 2014-06-18 18:56:47 +04:00
Alexander Kochetov
7a81fff972 SluggableBehavior updated 2014-06-18 18:32:11 +04:00
Alexander Kochetov
22b04c5c99 SluggableBehavior initial implementation 2014-06-17 04:08:39 +04:00