Alexander Makarov
|
5f9e88d40f
|
Better exception message when class cannot be loaded
|
11 years ago |
Carsten Brandt
|
923193d4e2
|
updated autoloader phpdoc
|
11 years ago |
Qiang Xue
|
e123428c94
|
Changed Yii autoloader to support loading PSR-4 classes only (i.e. PEAR-styled classes not supported anymore)
|
11 years ago |
Qiang Xue
|
34dc150f63
|
doc fixes.
|
11 years ago |
Carsten Brandt
|
5eed149f24
|
fixed links in phpdoc
|
11 years ago |
Qiang Xue
|
3822ffd16a
|
prepare for next release.
|
11 years ago |
Qiang Xue
|
b0018e3643
|
fixed version.
|
11 years ago |
Qiang Xue
|
eb3b2f45bc
|
refactored EmailTarget with the new mailer interfaces.
|
11 years ago |
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.
|
11 years ago |
Carsten Brandt
|
293b1737e1
|
cleanup YiiBase::autoload()
|
11 years ago |
Qiang Xue
|
f576add9e9
|
Fixes #744: simplified Yii autoloader.
|
11 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.
|
11 years ago |
Qiang Xue
|
71b8dfdb2e
|
Fixed doc.
|
11 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
|
11 years ago |
Qiang Xue
|
bc21de98bd
|
Refactored the basic app.
|
11 years ago |
Qiang Xue
|
eda171e1be
|
Added more YII_ENV constants.
|
11 years ago |
Qiang Xue
|
368a4cfe66
|
Asset feature refactoring (WIP)
|
11 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 |