Michael Bodnarchuk
58083f6ed0
A simple patch to get AspectMock and Go Aop working with Yii2
...
This is a very tiny patch that changes nothing in code logic, but is required to get [AspectMock](https://github.com/Codeception/AspectMock ) and Go Aop working with Yii2.
Go Aop is processing all `include` and `require` directives, replacing them with its filters. Unfortunately it doesn't play well with one-liners. So I had to break the code into few lines to get that working.
I was trying to fix this issue in [Go Aop](https://github.com/lisachenko/go-aop-php/pull/78 ) but looks like, the only option is to fix that in Yii2.
AspectMock can dramaticly improve unit testing in Yii2, and I plan to do a blogpost with tutorial about it.
12 years ago
Alexander Makarov
0645445523
fixes #677
12 years ago
Qiang Xue
f7257e53f0
Fixes #659 .
12 years ago
resurtm
c98dae8430
Doc fix.
12 years ago
Qiang Xue
39817de330
Ensure correct type.
12 years ago
Qiang Xue
915a3cd779
Fixes #653 : use boolean type to indicate boolean attributes.
12 years ago
Qiang Xue
ec23b1b481
Added new boolean attributes.
12 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
12 years ago
Qiang Xue
40b6b607c8
Fixes #632 .
12 years ago
Qiang Xue
e11ce60023
fixed the "only" option for FileHelper::findFiles()
12 years ago
Qiang Xue
227a831b8f
Improved FileHelper::filterPath()
12 years ago
Qiang Xue
d56739689c
Enhanced file options for FileHelper.
12 years ago
Qiang Xue
c3df0beecd
changed parameter ordering.
12 years ago
Qiang Xue
fae44063f6
Removed extra code.
12 years ago
Qiang Xue
5eac34a485
Debug toolbar WIP
12 years ago
Alexander Makarov
33ca13e498
fixed method name
12 years ago
Qiang Xue
0845f4b183
Enhanced ArrayHelper::toArray()
12 years ago
Qiang Xue
95b926a92c
Improved Json::encode() security.
12 years ago
Qiang Xue
71a156ebdf
Added itemOptions for Html::ol
12 years ago
Qiang Xue
d87afeb496
encode checkbox and radio list by default.
12 years ago
Qiang Xue
750b220da3
cleanup.
12 years ago
Qiang Xue
d5bd9853ea
Added Html::ol() and Html::ul()
12 years ago
Alexander Kochetov
ef9ceafdca
Refactoring
12 years ago
Alexander Kochetov
5bf0ba562f
Comments fixes
12 years ago
Alexander Kochetov
9bb0ce4b1c
Html helper pure HTML 5 mode without support old standarts
12 years ago
Qiang Xue
11c14a20e9
Simplified button signature.
12 years ago
Alexander Makarov
7dfae28b81
fixes #549 : ability to use HTMLPurifier multiple times
12 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
12 years ago
Qiang Xue
0c3bcc467d
Moved toArray() from YiiBase to ArrayHelper.
12 years ago
Qiang Xue
a951e1c8e1
Replaced Jsonable with Arrayable.
...
Added support for different response formats.
Support for error response in different formats.
12 years ago
Qiang Xue
17b1e5d2fc
Fixes issue #234 : Added Html::addCssClass() and removeCssClass().
12 years ago
Qiang Xue
531ca690eb
refactored the message command.
12 years ago
Qiang Xue
05cca15459
Removed "fileTypes" option.
12 years ago
Mojtaba Salehi
d97512e774
Call static::mkdir(..)
12 years ago
Qiang Xue
a8d2eded98
Fixing test breaks.
12 years ago
Qiang Xue
040db44fbd
refactored FileHelper.
12 years ago
Qiang Xue
2a30e32912
FileHelper refactoring WIP
12 years ago
Paul Klimov
dc8c71f409
"StringHelper::basename()" has been replaced by plain "basename" at "FileHelper".
12 years ago
Carsten Brandt
1d2185f9ac
added note about usage to StringHelper::basename()
12 years ago
Klimov Paul
40a005d543
"yii\helpers\StringHelper" usage has been added to "yii\helpers\base\FileHelper".
12 years ago
Klimov Paul
7697f21592
"filter" callback option has been added to "yii\helpers\base\FileHelper::findFiles()".
12 years ago
Klimov Paul
12d94c4a35
Doc comments at "yii\helpers\base\FileHelper::findFiles()" have been recomposed using markdown format.
12 years ago
Klimov Paul
3acd77b8b9
"self" replaced by "static" at "yii\helpers\base\FileHelper::mkdir()".
12 years ago
Klimov Paul
8f7a783757
Method "yii\helpers\base\FileHelper::mkdir()" has been added.
12 years ago
Klimov Paul
dfda6663f6
Method "yii\helpers\base\FileHelper::findFiles()" has been added.
12 years ago
Klimov Paul
ef60ec56a3
Method "yii\helpers\base\FileHelper::removeDirectory()" has been added.
12 years ago
resurtm
7a7d2a9c06
CS fixes.
12 years ago
Qiang Xue
29ac3aeea6
Added Jsonable support.
12 years ago
Qiang Xue
cf47a71db7
Fixes issue #478 : Improved the generation of secret key
12 years ago
Carsten Brandt
9af5466be5
typo in Html helper
12 years ago