jeicd
c2f83da8d8
Fix phpdoc
9 years ago
Nikola Kovacs
a7ef39ca6b
fix typo in documentation
9 years ago
namlier
cf2c722a1f
update comments in \yii\base\Controller
...
I had problems with understanding of why AccessControll filter didn't work, as i wish, with PageCache. Then i remembered the quote "The validation rules are evaluated in the order they are listed." from guide http://www.yiiframework.com/doc-2.0/guide-input-validation.html#declaring-rules , but when i tried to redirect some certain user using beforeAction(), as you advised, it didn't work.
close #9717
9 years ago
Carsten Brandt
00a8a6270e
revised docs about Model::load()
...
thanks to @tom-- for review.
9 years ago
Carsten Brandt
abc7dbbf0f
added missing `@since` annotations
9 years ago
Carsten Brandt
a2568d1ec8
updated some comments and `@since` annotations
9 years ago
Carsten Brandt
6d9fe671de
various code style and whitespace adjustments
9 years ago
Sebastian Chojniak
9012aa66bf
Fixed documentation according to Chg #4911
9 years ago
adinata
8ced2ba96a
Fixes #8933 : Yii is now able to properly handle HHVM fatal errors
9 years ago
Carsten Brandt
d3bd7af956
improved documentation of Model::load() return value
...
fixes #8803
close #9216
9 years ago
freezy
6a4436f95b
[ Fixes #9177 ] Password Hash Cost setting for Security component
9 years ago
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
10 years ago
Andrew Potter
a0cc77d78d
Update Model.php
...
close #8463
10 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