RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
7736853837
property code style extensions
10 years ago
Alexander Makarov
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
10 years ago
Alexander Makarov
07f01bcf2b
Used substr_compare instead of substr when we don't care about result
10 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Alexander Makarov
6a1816a94e
Allow using string for URL in case there are no parameters
11 years ago
Alexander Makarov
43c17d99cc
Fixes #2426 : Changed URL creation method signatures to be consistent
11 years ago
Carsten Brandt
21ae27b306
updated phpdoc properties
11 years ago
Qiang Xue
da9d544c54
psr-4 change.
11 years ago
Qiang Xue
41685a2409
moved extensions under yii.
11 years ago
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
11 years ago
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Qiang Xue
da93d9b4ba
Fixes #1195 .
11 years ago
slavcodev
ecc557ef92
Refactor all models to new rules format
11 years ago
Qiang Xue
c4bb668b90
moved gii and debug to extensions.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Luciano Baraglia
c2457f95e9
GII sub-modules support - see #871
11 years ago
Carsten Brandt
982b7fe4ae
better validation of module in gii module generator
...
fixes #963
11 years ago
Qiang Xue
8ea5858d0d
refactored gii.
11 years ago
Qiang Xue
3852e0b7cb
finished module code generator.
11 years ago
Qiang Xue
054b6f5818
Finished controller code generator.
11 years ago
Qiang Xue
208a274364
gii WIP
11 years ago
Qiang Xue
1896dd1707
gii WIP
11 years ago
Qiang Xue
94e4c076eb
gii WIP
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
fb5993af40
Fixes issue #251 : changed the signature of t() to be the same as v1.1
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
12 years ago
Qiang Xue
7de94d7fe9
Implemented optimistic locking for AR.
12 years ago
Qiang Xue
4fdaab3560
updated file header.
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
Qiang Xue
3c1452e84b
Changed the separator of message category.
12 years ago
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
12 years ago
Qiang Xue
398ac25456
added UserException.
12 years ago
Qiang Xue
761a9f4472
exception cleanup.
12 years ago
Qiang Xue
9165a1592a
cleanup.
12 years ago
Qiang Xue
8e05e6e62d
changed copyright line.
12 years ago
Qiang Xue
28af29248b
w
13 years ago
Qiang Xue
2390da8ca3
w
13 years ago
Qiang Xue
3ba68632b2
finished Vector.
13 years ago