Qiang Xue
f2027c1cdd
Fixed errorexception trace type.
12 years ago
Qiang Xue
4c2fcd7608
refactored application.
12 years ago
Qiang Xue
55e8db9b97
improved doc.
12 years ago
Qiang Xue
122bd231b4
modified Application constructor signature.
12 years ago
Qiang Xue
6f11f9e349
script WIP
12 years ago
Qiang Xue
1df9114b9a
refactored ErrorException handling.
12 years ago
Qiang Xue
79b278c816
refactored theme.
12 years ago
Qiang Xue
486ab3ff67
script WIP
12 years ago
Qiang Xue
ad4cf9e8fa
Added beforeRender and afterRender to View.
12 years ago
Qiang Xue
a421f9f1ab
refactored component event.
12 years ago
Qiang Xue
31777c9231
Fixed render issue.
12 years ago
Qiang Xue
bb5b6a4191
Finished FileValidator and UploadedFile.
...
Added Model::formName().
12 years ago
Qiang Xue
3bd186deeb
refactored validators.
12 years ago
Qiang Xue
c629ad776a
Finished plural forms.
12 years ago
Qiang Xue
78457bf009
fetching plural rule data.
12 years ago
Qiang Xue
c32a202d82
refactored MVC.
12 years ago
Qiang Xue
00319fb898
Fixed about previous exception.
12 years ago
Qiang Xue
e7295ad564
Use __METHOD__ as log category.
12 years ago
Alexander Makarov
7b73fdff5c
Better validation rules validity check
12 years ago
Alexander Makarov
0b265f0e36
A bit more friendly behavior for unsetting a model attribute
12 years ago
Qiang Xue
1fbf81be57
User WIP.
12 years ago
Alexander Makarov
66fcf622aa
Fixed Model::getFirstErrors()
12 years ago
Qiang Xue
2fd87fb6d0
User WIP
12 years ago
Qiang Xue
e1acc64b2b
refactoring cache and db references.
12 years ago
Qiang Xue
c03a3ff858
Finishes flash feature.
12 years ago
Qiang Xue
cd1b3d321a
refactored url creation shortcut method.
12 years ago
Qiang Xue
de5c304f64
finished fragment caching.
12 years ago
Qiang Xue
27f5c49bd5
fragment cache WIP
12 years ago
Qiang Xue
80dbaaca8b
bug fixes.
12 years ago
Qiang Xue
2f3cc8f16e
finished ActionFilter.
12 years ago
Qiang Xue
392b293d33
FragmentCache WIP
12 years ago
Qiang Xue
379e48a4c6
Finished new message translation implementation.
12 years ago
Qiang Xue
884977a724
renamed util to helpers.
12 years ago
Qiang Xue
5a6c5ccb4a
Finished ContentDecorator.
12 years ago
Qiang Xue
a5ee5b842b
view WIP
12 years ago
Qiang Xue
2ecf1d9284
view sip
12 years ago
Qiang Xue
1d48d01ef7
refactored View.
12 years ago
Qiang Xue
b71e83016f
ActiveForm WIP
12 years ago
Qiang Xue
30d70be071
Finished Html helper.
12 years ago
Qiang Xue
1f522d22b4
sort WIP
12 years ago
Qiang Xue
4fdaab3560
updated file header.
12 years ago
Qiang Xue
210e7b69c4
cleanup
12 years ago
Qiang Xue
f68bed0ccb
fixed exception.
12 years ago
Qiang Xue
e66729840d
Finished cookie.
...
Finished SecurityHelper.
12 years ago
Qiang Xue
dac5e99e36
Added PasswordHelper.
12 years ago
Qiang Xue
4ec96cd6cf
request WIP.
12 years ago
Alexander Makarov
7f1f1b7767
- Moved handling fatal errors into handleFatalError() method.
...
- Refactored checking for fatal error.
- Suppressed errors in exception handler in case of fatal errors.
12 years ago
Alexander Makarov
97eda21ab6
ErrorException now extends from Exception
12 years ago
Alexander Makarov
2d5db95149
More on error handling:
...
- Correct exit code for require errors in CLI mode. It was 0 even in case of error.
- Solved handling fatals and displaying custom error template w/o output buffering.
- If XDEBUG is available, error screen will display trace (implementation inspired by Kohana and Nette).
- Added ErrorException to store/display type of the error and user-friendly messages.
- Fatals are still logged in PHP log.
- Turned off native display_errors since we're now catching all errors.
- Added reserving memory (256kb) . Can be removed safely. In case of removal we're losing only memory exhausted error when allocating last very small chunk of memory.
- Properly handled errors in __toString (exception can't be thrown in this case).
- In the YII_DEBUG===false mode it's bad to display exception name even in page title.
- In the YII_DEBUG===true mode it's still useful to get user-friendly message additionally to exception name.
12 years ago
Alexander Makarov
842caa3aae
Yii-style for PHP fatal and parse errors
12 years ago