Carsten Brandt
3d59b19a21
added classes to grid, list and detail view
...
to allow specific styling
also fixed an issue with gridview sort indicator css.
fixes #1000
11 years ago
Carsten Brandt
e8b674dc78
Do not unset class properties!
...
this will result in objects that do not have the property anymore :-)
11 years ago
Alexander Kochetov
1edf0a0981
FixtureController code style fixes and typo fixes
11 years ago
Carsten Brandt
fc6b63717c
removed hard restriction of cache keyPrefix to alnum
...
fixes #1773
11 years ago
Carsten Brandt
8d09633bb9
allow class level trigger call on Event subclasses
...
e.g. UserEvent::trigger('event', 'class');
should result in a UserEvent to be passed to the handlers instead of
a base\Event.
11 years ago
Carsten Brandt
4bb2ee95b7
updated docs of Event
11 years ago
Paul Kofmann
1924a528be
Redundant event's instanceof check
...
And some docs punctuation.
11 years ago
Carsten Brandt
3fdca0508c
applied fixture command docs from #1762
...
closes #1762
11 years ago
Carsten Brandt
7d42fc4112
code style fixes
11 years ago
Mark
f4397f1b8a
fixture controller improved
11 years ago
Mark
ccfb7638d0
Added to the basic app, fixed config, added to core commands.
11 years ago
Qiang Xue
239778efbd
minor issue fix about fixture controllers.
11 years ago
Qiang Xue
9f74bba3f7
minor fixes.
11 years ago
Qiang Xue
4c45b429e5
doc fix.
11 years ago
Qiang Xue
f331547584
Fixes #1748 : code cleanup.
11 years ago
Qiang Xue
4a9b2d2b82
Added support for using array-typed arguments for console commands
11 years ago
Mark
a3071fd90d
added faker integration
11 years ago
Qiang Xue
7ec8d0df5f
doc fix.
11 years ago
Qiang Xue
fb0c43b30b
`yii\web\User::loginRequired()` now returns the `Response` object instead of exiting the application
11 years ago
Qiang Xue
64c4d8e718
Fixes #1733 : Incorrect code about `$_modelClasses` in `DbFixtureManager`
11 years ago
Qiang Xue
4f346f4be1
doc fix.
11 years ago
Carsten Brandt
7a1949fe2d
improved traceability of errors thrown in toString() methods
11 years ago
Qiang Xue
27658e56ae
Fixes #1647 : Changed the default CSS class of error block to be `error-block`
11 years ago
Qiang Xue
978f8ec203
refactored profiling timing calculation.
11 years ago
Qiang Xue
9e66e08bc7
Fixes #802 : Added support for retrieving sub-array element or child object property through `ArrayHelper::getValue()`
11 years ago
Qiang Xue
1edeb7aa5e
Fixed test break.
11 years ago
Qiang Xue
5f8e6d377b
Fixes #1706 : Added support for registering a single JS/CSS file with dependency
11 years ago
Carsten Brandt
fbb9918a46
fixed an issue with message source and model as params
11 years ago
Carsten Brandt
173c7de82b
changed default value of Component::_events
11 years ago
Carsten Brandt
ea47ce5ca2
code style fixes
11 years ago
Paul Kofmann
934051e804
Small fixes for the sake of consistency
11 years ago
Qiang Xue
0b28f290f3
Fixes #1704 : Incorrect regexp is used in `Inflector::camelize()`
11 years ago
Mark
12e46921b3
line fix
11 years ago
Qiang Xue
b09f709adc
Fixed build break.
11 years ago
Mark
c0a2201143
end of line fix
11 years ago
Mark
f267f4623f
reverted $isValid for events.
11 years ago
Qiang Xue
c88016f9d8
added default mail config to application.
11 years ago
Paul Kofmann
ee81915a1e
Removed redundant code in detachBehaviors()
...
After ensureBehaviors() call $this->_behaviors is an array already.
And since detachBehavior() unsets elements in $this->_behaviors, $this->_behaviors turns out to be an empty array after all iterations.
11 years ago
Paul Kofmann
6e34488fa5
Using constants instead of literals in Behavior
11 years ago
Qiang Xue
943bf88904
doc fix.
11 years ago
Qiang Xue
0788e1045f
Refactored unit tests.
11 years ago
Qiang Xue
28dc23ddac
Fixed the issue that query cache returns the same data for the same SQL but different query methods
11 years ago
Qiang Xue
9b1c2c8064
Fixes #1586 : `QueryBuilder::buildLikeCondition()` will now escape special characters and use percentage characters by default
11 years ago
Qiang Xue
60dd8d16a1
Fixes #1688 : ActiveForm is creating duplicated messages in error summary
11 years ago
Qiang Xue
cbad97c78d
change back the visibility of findTableNames to protected.
11 years ago
Qiang Xue
70c23ca43b
Typo fix.
11 years ago
Mark
59535d38cf
doc fix
11 years ago
Qiang Xue
85c774e01d
Fixes #1681 : Added support for automatically adjusting the "for" attribute of label generated by `ActiveField::label()`
11 years ago
Mark
c0316a10dd
added mail events before/after send
11 years ago
Alexander Makarov
404757bf82
Fixes #1631 : Charset is now explicitly set to UTF-8 when serving JSON
11 years ago