Klimov Paul
|
e7c080594d
|
Fixed `yii\behaviors\AttributeTypecastBehavior` marks attributes with `null` value as 'dirty'
|
8 years ago |
Klimov Paul
|
d4df72a2a4
|
Fixed `yii\behaviors\AttributeTypecastBehavior` unable to automatically detect `attributeTypes`
|
8 years ago |
Carsten Brandt
|
ff871bdf48
|
adjuste PHPdoc controller to use short form types
|
8 years ago |
Paul Klimov
|
a53c1f9525
|
Added `yii\behaviors\AttributeTypecastBehavior` (#12067)
Added `yii\behaviors\AttributeTypecastBehavior`
|
8 years ago |
Carsten Brandt
|
217d50e4ff
|
improved PHPdoc and `@since` annotations
|
8 years ago |
Nikola Kovacs
|
9d327baa8b
|
coding style fixes
|
8 years ago |
Alexander Makarov
|
73803ff28b
|
Fixes #8422: added note to behaviors explaining that there's no sense in validating attributes there are set automatically
|
9 years ago |
Carsten Brandt
|
731769241b
|
release version 2.0.8
|
9 years ago |
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
|
9 years ago |
Angel Guevara
|
0bd7bb961f
|
[doc] link to unexistant class
`\yii\behaviors\Expression` to `\yii\db\Expression`
|
9 years ago |
Jitendra Joshi
|
8476997800
|
MySQL default column type for TimestampBehaviour
|
9 years ago |
Alexander Makarov
|
b6caff1952
|
Removed unused imports
|
9 years ago |
Carsten Brandt
|
4359f4665b
|
docs adjustement for blameable behavior
|
9 years ago |
SilverFire - Dmitry Naumenko
|
4f75bd70b9
|
`BlameableBehavior::getValue()` changed to make value processing consistent with `AttributeBehavior::getValue()`
|
9 years ago |
SilverFire - Dmitry Naumenko
|
2e13136ca8
|
`AttributeBehavior::getValue()` now respects the callable in array format
|
9 years ago |
Carsten Brandt
|
e8d309dddb
|
documentation fixes for 2.0.7
|
9 years ago |
SilverFire - Dmitry Naumenko
|
6936c41cf1
|
SluggableBahavior - PHPDoc and code style fixed; validateSlug, generateUniqueSlug - private -> protected
|
9 years ago |
Hesam Khaki
|
bd6b70b470
|
fixes some coding styles in sluggableBehavior
|
9 years ago |
Hesam Khaki
|
a8dfd50078
|
numerous refactors for SluggabeBehavior class
|
9 years ago |
SilverFire - Dmitry Naumenko
|
cd87d67f34
|
Global DOCS update: ~~~ replaced with ```
|
9 years ago |
Carsten Brandt
|
e2c8c08875
|
made it easier to extend SluggableBehavior slug generation
fixes #10118
|
9 years ago |
SilverFire - Dima Naumenko
|
f38bb6ced4
|
Chg #9953: `TimestampBehavior::getValue()` value processing is consistent with `AttributeBehavior::getValue()`
|
9 years ago |
Carsten Brandt
|
a2568d1ec8
|
updated some comments and `@since` annotations
|
9 years ago |
Klimov Paul
|
cad9fd9d20
|
`yii\behaviors\TimestampBehavior::touch()` throws an exception if owner is new record
|
10 years ago |
Steven Michaels
|
5fc927c959
|
AttributeBehavior documentation cleanup [ci skip]
Removed a rogue 'For example' and split a long line
close #7940
|
10 years ago |
Carsten Brandt
|
da50920ac8
|
improved wording in TimestampBehavior
|
10 years ago |
Carsten Brandt
|
e742ba0ea1
|
updated docs about timestamp and refresh
fixes #7484
|
10 years ago |
Kartik Visweswaran
|
98571fb3b9
|
More correct usage of TimeStamp touch method
TimeStampBehavior PHPDoc update for the `touch()` method
|
10 years ago |
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
|
10 years ago |
Qiang Xue
|
58516ae8a9
|
Fixes #6434: Added `yii\behaviors\SluggableBehavior::immutable` to support keeping the generated slug unchanged
|
10 years ago |
Eugine Terentev
|
4dd15a669f
|
Adds immutable property fit SluggableBehavior fixes #6430
|
10 years ago |
Alexander Mohorev
|
bb8550886e
|
PHP type casting
|
10 years ago |
Alexander Makarov
|
a20f82dcfa
|
Fixes #4919
|
10 years ago |
Qiang Xue
|
ce6f33af28
|
Fixes #4736
|
10 years ago |
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.
|
10 years ago |
Klimov Paul
|
0a709b10a0
|
Model parameter added to `yii\behaviors\Sluggable::uniqueSlugGenerator` callback
|
10 years ago |
Klimov Paul
|
c072cc2eaf
|
`yii\behaviors\Sluggable` adjusted
|
10 years ago |
Klimov Paul
|
101d771ecf
|
`yii\behaviors\Sluggable::validateSlug()` fixed to respect updating record
|
10 years ago |
Klimov Paul
|
f27254b9aa
|
`yii\behaviors\Sluggable` simplified
|
10 years ago |
Klimov Paul
|
d362af6ede
|
`yii\behaviors\Sluggable` optimized
|
10 years ago |
Klimov Paul
|
b062a6601d
|
Default event for `yii\behaviors\Sluggable` with `unique` enabled changed to 'insert'.
|
10 years ago |
Klimov Paul
|
327914e452
|
Added automatic generating of unique slug value to `yii\behaviors\Sluggable`
|
10 years ago |
Qiang Xue
|
378b765e48
|
Fixes #4571: ignore non-string attribute names for AttributeBehavior.
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Carsten Brandt
|
3a1e0f3a5c
|
property codestyle framework
|
10 years ago |
Carsten Brandt
|
8701d7df3b
|
more explicit comment in phpdoc, code style
|
10 years ago |
Alexander Kochetov
|
b1bcb59aa9
|
\yii\behaviors\TimestampBehavior updated
|
10 years ago |
Alexander Kochetov
|
c7b51e2565
|
\yii\behaviors\SluggableBehavior updated
|
10 years ago |
Alexander Kochetov
|
4c20b57b98
|
\yii\behaviors\TimestampBehavior updated
|
10 years ago |
Alexander Kochetov
|
8d9f5b4803
|
\yii\behaviors\BlameableBehavior updated
|
10 years ago |