Carsten Brandt
|
e775c82dd8
|
Changed usage of self to static to allow extendibility
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static
verification code for properties:
https://gist.github.com/cebe/7566916
|
11 years ago |
Qiang Xue
|
d2e5f2c507
|
Fixes #1234: use dash instead of underscore to separate language and country in locale id.
|
11 years ago |
slavcodev
|
b0b1c27c85
|
Fix phpDoc var tag format
|
11 years ago |
Taras Gudz
|
2617dfbaf3
|
Removed links to non-existent things phpDocs [skip ci]
|
11 years ago |
Taras Gudz
|
9b95a81b0c
|
Fixed the rest phpDocs [skip ci]
|
11 years ago |
Qiang Xue
|
e8da628d75
|
doc fix
|
11 years ago |
Qiang Xue
|
2509748fda
|
Fixes #1134: doc fix.
|
11 years ago |
Alexander Mohorev
|
51211898f8
|
Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis.
|
11 years ago |
Alexander Makarov
|
ee2af2661c
|
Removed unneeded use statements
|
11 years ago |
Carsten Brandt
|
33f6e81463
|
make Yii::t fallback behavior consistent with I18N::translate
|
11 years ago |
Qiang Xue
|
9636b0fcb7
|
removed Yii::importNamespaces() in favor of the new yii extension installer.
|
11 years ago |
Carsten Brandt
|
6f52659753
|
no need to check for trait_exists in autoloader anymore
|
11 years ago |
Alexander Makarov
|
1f6a823073
|
Short array syntax
|
11 years ago |
Alexander Makarov
|
618f981112
|
Renamed i18n to be all lowecase when accessed as a property
|
11 years ago |
Alexander Makarov
|
b873f9f242
|
Fixes #915: helper classes renamed again
|
11 years ago |
Alexander Makarov
|
558f499439
|
Renamed YiiBase to AbstractYii
|
11 years ago |
Carsten Brandt
|
8c753676db
|
Exception about missing class in class file only when YII_DEBUG
See discussion about exceptions in autoloader here:
https://groups.google.com/forum/?fromgroups#!topic/php-fig/kRTVRSIJ0qE
|
11 years ago |
Qiang Xue
|
ea10868824
|
Removed Yii::import().
|
11 years ago |
Carsten Brandt
|
bb2274eae2
|
re-added Exception about wrong class name to autoloader
helps reducing weird error messages.
|
12 years ago |
Carsten Brandt
|
293b1737e1
|
cleanup YiiBase::autoload()
|
12 years ago |
Qiang Xue
|
f576add9e9
|
Fixes #744: simplified Yii autoloader.
|
12 years ago |
Carsten Brandt
|
afebb37129
|
avoid confusing docs about autoload return value
autoload return value has no effect on other autoloaders
they will only be called based on whether the class has been loaded or
not.
|
12 years ago |
Qiang Xue
|
71b8dfdb2e
|
Fixed doc.
|
12 years ago |
Carsten Brandt
|
c4587de53e
|
Fixed autoloader behavior according to leading \
As of PHP 5.3.2 PHP does not send class names with leading \ to
autoload functions.
Removed ltrim for '/' from autoload because it is
1. not needed: https://bugs.php.net/bug.php?id=50731 and
2. possibly wrong behavior: https://bugs.php.net/bug.php?id=51087
|
12 years ago |
Qiang Xue
|
bc21de98bd
|
Refactored the basic app.
|
12 years ago |
Qiang Xue
|
eda171e1be
|
Added more YII_ENV constants.
|
12 years ago |
Qiang Xue
|
368a4cfe66
|
Asset feature refactoring (WIP)
|
12 years ago |
Qiang Xue
|
3123c46826
|
handle array in importNamespaces.
|
12 years ago |
Qiang Xue
|
d29ea5a110
|
import namespaces.
|
12 years ago |
Qiang Xue
|
b427b5fbb0
|
updated alias.
|
12 years ago |
Qiang Xue
|
83a45ad132
|
Improved debug backtrace tracking.
|
12 years ago |
Qiang Xue
|
689e5d1653
|
renamed "logging" to "log".
|
12 years ago |
Qiang Xue
|
7f1b8c109e
|
Adjust for test integration.
|
12 years ago |
Qiang Xue
|
a5a2481b4f
|
Added acceptance tests for the basic app.
|
12 years ago |
Carsten Brandt
|
c68eef89b1
|
moved classMap to separate file
|
12 years ago |
Carsten Brandt
|
2643daa534
|
Improve application speed by using classMap for autoloader
|
12 years ago |
Qiang Xue
|
e0789ecb82
|
Removed unused namespace.
|
12 years ago |
Qiang Xue
|
d4910ee4f5
|
Put back Yii::getObjectVars() and fixed infinite loop in Object::toArray().
|
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
|
6c7672c562
|
Minor refactoring of t().
|
12 years ago |
Qiang Xue
|
29ac3aeea6
|
Added Jsonable support.
|
12 years ago |
resurtm
|
a08399bcc5
|
Yii::t() minor fix.
|
12 years ago |
Alexander Kochetov
|
03c2c1e0f1
|
YiiBase jQuery UI alias
|
12 years ago |
Qiang Xue
|
f72105166c
|
reorganized the main repo to satisfy PSR-0.
|
12 years ago |
Qiang Xue
|
894510cfa7
|
Fixed bootstrap asset registration issue.
|
12 years ago |
Alexander Kochetov
|
c3bce6b611
|
YiiBase move all after class definition
|
12 years ago |
Alexander Kochetov
|
6f2acf0518
|
YiiBase
|
12 years ago |
Qiang Xue
|
986bfccd34
|
Fixes issue #294.
|
12 years ago |
Qiang Xue
|
fb5993af40
|
Fixes issue #251: changed the signature of t() to be the same as v1.1
|
12 years ago |