Herbert Maschke
|
b58fee7d37
|
Fixes #13035: Use ArrayHelper::getValue() in SluggableBehavior::getValue()
|
2016-11-22 13:20:45 +03:00 |
|
Robert Korulczyk
|
7a3a342127
|
Fix errors reported by apidoc extension. (#12986)
|
2016-11-13 14:51:21 +01:00 |
|
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed boolean to bool and integer to int in phpdoc
|
2016-11-07 02:51:39 +03:00 |
|
Klimov Paul
|
e7c080594d
|
Fixed yii\behaviors\AttributeTypecastBehavior marks attributes with null value as 'dirty'
|
2016-11-01 12:27:36 +02:00 |
|
Klimov Paul
|
d4df72a2a4
|
Fixed yii\behaviors\AttributeTypecastBehavior unable to automatically detect attributeTypes
|
2016-10-21 12:49:22 +03:00 |
|
Carsten Brandt
|
ff871bdf48
|
adjuste PHPdoc controller to use short form types
|
2016-10-20 13:53:06 +02:00 |
|
Paul Klimov
|
a53c1f9525
|
Added yii\behaviors\AttributeTypecastBehavior (#12067)
Added `yii\behaviors\AttributeTypecastBehavior`
|
2016-08-05 13:26:26 +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 |
|
Carsten Brandt
|
731769241b
|
release version 2.0.8
|
2016-04-28 16:50:20 +02:00 |
|
Angel Guevara
|
b49488b1f7
|
Enh new property skipUpdateOnClean for AttributeBehavior (#11302)
Fixes #11002: `AttributeBehavior::$skipUpdateOnClean` which determines whether to skip a behavior when the behavior owner has not been modified
|
2016-04-09 15:38:41 +03:00 |
|
Angel Guevara
|
0bd7bb961f
|
[doc] link to unexistant class
`\yii\behaviors\Expression` to `\yii\db\Expression`
|
2016-03-29 20:29:26 -06:00 |
|
Jitendra Joshi
|
8476997800
|
MySQL default column type for TimestampBehaviour
|
2016-03-11 00:57:53 +05:30 |
|
Alexander Makarov
|
b6caff1952
|
Removed unused imports
|
2016-02-16 13:48:09 +03:00 |
|
Carsten Brandt
|
4359f4665b
|
docs adjustement for blameable behavior
|
2016-02-13 14:44:10 +01:00 |
|
SilverFire - Dmitry Naumenko
|
4f75bd70b9
|
BlameableBehavior::getValue() changed to make value processing consistent with AttributeBehavior::getValue()
|
2016-02-13 12:37:35 +02:00 |
|
SilverFire - Dmitry Naumenko
|
2e13136ca8
|
AttributeBehavior::getValue() now respects the callable in array format
|
2016-02-13 12:33:18 +02:00 |
|
Carsten Brandt
|
e8d309dddb
|
documentation fixes for 2.0.7
|
2016-02-06 19:47:13 +01: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 |
|
SilverFire - Dmitry Naumenko
|
cd87d67f34
|
Global DOCS update: ~~~ replaced with ```
|
2015-12-02 23:15:28 +02:00 |
|
Carsten Brandt
|
e2c8c08875
|
made it easier to extend SluggableBehavior slug generation
fixes #10118
|
2015-11-07 16:59:24 +01:00 |
|
SilverFire - Dima Naumenko
|
f38bb6ced4
|
Chg #9953: TimestampBehavior::getValue() value processing is consistent with AttributeBehavior::getValue()
|
2015-10-18 16:14:19 +03:00 |
|
Carsten Brandt
|
a2568d1ec8
|
updated some comments and @since annotations
|
2015-08-02 19:56:49 +02:00 |
|
Klimov Paul
|
cad9fd9d20
|
yii\behaviors\TimestampBehavior::touch() throws an exception if owner is new record
|
2015-05-13 13:19:46 +03:00 |
|
Steven Michaels
|
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 |
|
Carsten Brandt
|
da50920ac8
|
improved wording in TimestampBehavior
|
2015-02-27 21:25:49 +01:00 |
|
Carsten Brandt
|
e742ba0ea1
|
updated docs about timestamp and refresh
fixes #7484
|
2015-02-27 11:31:45 +01:00 |
|
Kartik Visweswaran
|
98571fb3b9
|
More correct usage of TimeStamp touch method
TimeStampBehavior PHPDoc update for the `touch()` method
|
2015-01-16 16:46:29 +05:30 |
|
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 |
|
Alexander Makarov
|
a20f82dcfa
|
Fixes #4919
|
2014-09-04 20:44:36 +04:00 |
|
Qiang Xue
|
ce6f33af28
|
Fixes #4736
|
2014-08-23 18:32:24 -04:00 |
|
wenbin1989
|
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 |
|
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 |
|
Qiang Xue
|
378b765e48
|
Fixes #4571: ignore non-string attribute names for AttributeBehavior.
|
2014-08-02 14:12:30 -04:00 |
|
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
2014-07-30 00:21:31 +02:00 |
|
Carsten Brandt
|
8701d7df3b
|
more explicit comment in phpdoc, code style
|
2014-07-29 02:45:56 +02:00 |
|
Alexander Kochetov
|
b1bcb59aa9
|
\yii\behaviors\TimestampBehavior updated
|
2014-07-23 22:58:30 -04:00 |
|
Alexander Kochetov
|
c7b51e2565
|
\yii\behaviors\SluggableBehavior updated
|
2014-07-23 22:58:30 -04:00 |
|