55 Commits

Author SHA1 Message Date
8476997800 MySQL default column type for TimestampBehaviour 2016-03-11 00:57:53 +05:30
b6caff1952 Removed unused imports 2016-02-16 13:48:09 +03:00
4359f4665b docs adjustement for blameable behavior 2016-02-13 14:44:10 +01:00
4f75bd70b9 BlameableBehavior::getValue() changed to make value processing consistent with AttributeBehavior::getValue() 2016-02-13 12:37:35 +02:00
2e13136ca8 AttributeBehavior::getValue() now respects the callable in array format 2016-02-13 12:33:18 +02:00
e8d309dddb documentation fixes for 2.0.7 2016-02-06 19:47:13 +01:00
6936c41cf1 SluggableBahavior - PHPDoc and code style fixed; validateSlug, generateUniqueSlug - private -> protected 2016-01-23 10:42:56 +02:00
bd6b70b470 fixes some coding styles in sluggableBehavior 2016-01-23 10:42:56 +02:00
a8dfd50078 numerous refactors for SluggabeBehavior class 2016-01-23 10:42:56 +02:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
e2c8c08875 made it easier to extend SluggableBehavior slug generation
fixes #10118
2015-11-07 16:59:24 +01:00
f38bb6ced4 Chg #9953: TimestampBehavior::getValue() value processing is consistent with AttributeBehavior::getValue() 2015-10-18 16:14:19 +03:00
a2568d1ec8 updated some comments and @since annotations 2015-08-02 19:56:49 +02:00
cad9fd9d20 yii\behaviors\TimestampBehavior::touch() throws an exception if owner is new record 2015-05-13 13:19:46 +03:00
5fc927c959 AttributeBehavior documentation cleanup [ci skip]
Removed a rogue 'For example' and split a long line

close #7940
2015-04-01 02:17:49 +02:00
da50920ac8 improved wording in TimestampBehavior 2015-02-27 21:25:49 +01:00
e742ba0ea1 updated docs about timestamp and refresh
fixes #7484
2015-02-27 11:31:45 +01:00
98571fb3b9 More correct usage of TimeStamp touch method
TimeStampBehavior PHPDoc update for the `touch()` method
2015-01-16 16:46:29 +05:30
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
58516ae8a9 Fixes #6434: Added yii\behaviors\SluggableBehavior::immutable to support keeping the generated slug unchanged 2014-12-15 22:19:09 -05:00
4dd15a669f Adds immutable property fit SluggableBehavior fixes #6430 2014-12-15 22:02:49 -05:00
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
a20f82dcfa Fixes #4919 2014-09-04 20:44:36 +04:00
ce6f33af28 Fixes #4736 2014-08-23 18:32:24 -04:00
3b705855aa fix bugs of BlameableBehavior in console application. In console application, \yii\console\Application doesn't have getUser() method. Use BlameableBehavior in console application will cause an exception. 2014-08-23 18:30:50 -04:00
0a709b10a0 Model parameter added to yii\behaviors\Sluggable::uniqueSlugGenerator callback 2014-08-12 16:45:57 +03:00
c072cc2eaf yii\behaviors\Sluggable adjusted 2014-08-12 12:24:08 +03:00
101d771ecf yii\behaviors\Sluggable::validateSlug() fixed to respect updating record 2014-08-12 12:01:23 +03:00
f27254b9aa yii\behaviors\Sluggable simplified 2014-08-12 11:43:15 +03:00
d362af6ede yii\behaviors\Sluggable optimized 2014-08-12 11:36:50 +03:00
b062a6601d Default event for yii\behaviors\Sluggable with unique enabled changed to 'insert'. 2014-08-11 18:04:18 +03:00
327914e452 Added automatic generating of unique slug value to yii\behaviors\Sluggable 2014-08-11 17:43:00 +03:00
378b765e48 Fixes #4571: ignore non-string attribute names for AttributeBehavior. 2014-08-02 14:12:30 -04:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
8701d7df3b more explicit comment in phpdoc, code style 2014-07-29 02:45:56 +02:00
b1bcb59aa9 \yii\behaviors\TimestampBehavior updated 2014-07-23 22:58:30 -04:00
c7b51e2565 \yii\behaviors\SluggableBehavior updated 2014-07-23 22:58:30 -04:00
4c20b57b98 \yii\behaviors\TimestampBehavior updated 2014-07-23 22:58:30 -04:00
8d9f5b4803 \yii\behaviors\BlameableBehavior updated 2014-07-23 22:58:30 -04:00
471d053642 \yii\behaviors\AttributeBehavior updated 2014-07-23 22:58:30 -04:00
785b027dbf doc update [skip ci] 2014-06-18 17:45:10 -04:00
038257e3ed SluggableBehavior phpDoc updated 2014-06-18 19:31:39 +04:00
15f3385d53 SluggableBehavior phpDoc updated 2014-06-18 19:14:23 +04:00
f368cff3ec SluggableBehavior phpDoc updated 2014-06-18 19:10:17 +04:00
031c9cca06 SluggableBehavior phpDoc added 2014-06-18 18:56:47 +04:00
7a81fff972 SluggableBehavior updated 2014-06-18 18:32:11 +04:00
22b04c5c99 SluggableBehavior initial implementation 2014-06-17 04:08:39 +04:00
54e08f3f01 fixed build break. 2014-04-03 11:57:49 -04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00