tom--
e0d2d2cc88
Improve summary description of Action class
9 years ago
onedevlink
c4ab9a0891
Fixed typo in base/Security file and docs
9 years ago
Alexander Mohorev
68c30c1034
Replace aliases of functions
9 years ago
Alexander Mohorev
39cb131984
Spelling and sc fixes
9 years ago
Alexander Mohorev
d34d890a32
PSR-2 if-else statement
9 years ago
Alexander Mohorev
38ca276e1f
PSR-2 try-catch statement
9 years ago
Alexander Mohorev
0c5e4b7105
PSR-2 foreach statement
9 years ago
Carsten Brandt
f68e970de2
link to PHP classes just as we do with normal classes
...
apidoc can handle this!
9 years ago
Alexander Makarov
67658cf57d
Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly
9 years ago
Mohamad Mohebifar
b2e8bf2552
Update PHPDoc Comment
9 years ago
Carsten Brandt
1fe171b328
only close output buffer if it is still open
...
Pjax did alredy close it before ExitException
fixes #8506
9 years ago
Carsten Brandt
d5693cfe01
small improvements of Model phpdoc
9 years ago
Andrew Potter
a0cc77d78d
Update Model.php
...
close #8463
9 years ago
Carsten Brandt
b9916b1718
log the whole exception object to allow log targets to work with it
...
fixes #6354
made possible by #7305
10 years ago
Carsten Brandt
8f1811919f
ensure error will always result in a failing HTTP status code
...
fixes #8326
proper fix for #7571 which did not work in all situations
10 years ago
Klimov Paul
a4f760e798
Fixed `yii\base\Model` does not recognize scenario declared by rules using 'except'
10 years ago
Nikola Kovacs
f11bdfa2a7
Grammar fix: followings -> following
10 years ago
Carsten Brandt
10d0ad70af
close output buffer for widget on exception
...
while running bootstrap extension unit tests which were failing first
I found phpunit complaining about risky tests because output buffers
were not closed correctly. This change fixes this problem.
close #7844
10 years ago
Carsten Brandt
851a914f67
phpdoc tweak: Model::scenarios()
10 years ago
Klimov Paul
85ca8c3712
Added ability to specify hints for model attributes
10 years ago
Yasser Hassan
daab0e9aef
Fixing typo.
...
close #7941
10 years ago
Qiang Xue
c01804d7c9
Fixes #7775 : Added more strict check on controller IDs when they are being used to create controller instances on Windows
10 years ago
Carsten Brandt
2f5345b63c
improved beforeAction docs
10 years ago
tom--
70fa53a20f
Update Controller.php and Module.php
...
beforeAction() code style:
1. Return early on error
2. Don't else-after-return
close #7804
10 years ago
Alexander Makarov
b6a591c720
Fixes #7571 : HTTP status 500 and "An internal server error occurred." are now returned in case there was an exception in layout and `YII_DEBUG` is false
10 years ago
Carsten Brandt
624db0e678
updated Component::__isset() docs
...
close #7587
10 years ago
Brandon Kelly
6d2bc06bf4
Corrected the Component::__isset() docs
...
__isset() returns true if the property is set; not if it's null.
10 years ago
Carsten Brandt
2aace3714c
minor adjustments
10 years ago
Alexander Makarov
d7346cbfaf
Used PHP_OS instead of php_uname() to check for Linix
10 years ago
Alexander Makarov
4fffd8fcef
Prevented Security from erroring in case of /dev/urandom or /dev/random aren't available
10 years ago
Alexander Makarov
7721baae1f
Used StringHelper for byte operations
10 years ago
tom--
4512833fac
Fixes #7215 : Uses OpenSSL crypto lib instead of Mcrypt. Added testing of encrypted data compatibility, both backward and forward
10 years ago
Qiang Xue
1088fd496d
Added support to `yii\di\Container` to instantiate and configure an object that implements `yii\base\Configurable`.
10 years ago
Alexander Makarov
2ba573bfb5
Fixes #6883 : `yii\base\ErrorHandler::logException()` is now public
10 years ago
Alexander Kochetov
605c2d9eca
yii\base\Model::load() typo fix
10 years ago
pana1990
7aae667e28
Fixes #6618 : Added Model::addErrors()
10 years ago
Qiang Xue
b6be7111c6
Fixes #6488 : Support changing `yii\base\Theme::basePath` during runtime
10 years ago
Alexander Makarov
ab0033542b
Fixes #6247 : Logger and error handler are now using slightly less memory
10 years ago
Qiang Xue
8956626845
Fixes #6518 [skip ci]
10 years ago
Carsten Brandt
8b79293ff2
added missing `@since` annotations
10 years ago
Qiang Xue
3c63213de3
Added `yii\base\Controller::renderContent()`
10 years ago
Qiang Xue
fe546cd22f
Fixes #5688 : Added optional `$formName` to `Model::loadMultiple()` to support customizing form name directly
10 years ago
munawer
33b760eca2
[ci skip] Guide typos fixed
10 years ago
Carsten Brandt
ecb113f1d0
fixed model serializtaion example
10 years ago
Qiang Xue
a92e214b9e
Fixes #5770 : Added more PHP error names for `ErrorException`
10 years ago
Alexander Mohorev
b2341edfcf
add more default names of exceptions
10 years ago
Alexander Mohorev
899b778994
Correct type declarations
10 years ago
Alexander Mohorev
bb8550886e
PHP type casting
10 years ago
Alexander Mohorev
f1edafffaf
PHPDoc comment doesn't contain all necessary @throws tag
...
close #5762
10 years ago
Ilya Antipenko
9061874bdb
Fixes #5646 : Call `yii\base\ErrorHandler::unregister()` instead of `restore_*_handlers` directly
10 years ago