30 Commits

Author SHA1 Message Date
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
2013-09-04 14:27:20 +02:00
ea10868824 Removed Yii::import(). 2013-09-01 10:26:59 -04:00
bb2274eae2 re-added Exception about wrong class name to autoloader
helps reducing weird error messages.
2013-08-18 19:33:33 +02:00
293b1737e1 cleanup YiiBase::autoload() 2013-08-12 02:36:47 +02:00
f576add9e9 Fixes #744: simplified Yii autoloader. 2013-08-11 20:03:01 -04:00
71b8dfdb2e Fixed doc. 2013-08-11 10:18:27 -04:00
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
2013-08-11 15:17:28 +02:00
bc21de98bd Refactored the basic app. 2013-08-10 07:33:24 -04:00
eda171e1be Added more YII_ENV constants. 2013-07-31 07:18:59 -04:00
368a4cfe66 Asset feature refactoring (WIP) 2013-07-15 22:49:22 -04:00
80fe1076dd Merge branch 'master' of github.com:yiisoft/yii2 2013-07-12 13:03:44 -04:00
3123c46826 handle array in importNamespaces. 2013-07-12 13:03:37 -04:00
d29ea5a110 import namespaces. 2013-07-12 07:31:54 -04:00
b427b5fbb0 updated alias. 2013-07-10 17:16:45 -04:00
83a45ad132 Improved debug backtrace tracking. 2013-07-10 12:54:04 -04:00
689e5d1653 renamed "logging" to "log". 2013-07-02 21:47:46 -04:00
7f1b8c109e Adjust for test integration. 2013-06-23 15:03:59 -04:00
a5a2481b4f Added acceptance tests for the basic app. 2013-06-22 20:26:22 -04:00
c68eef89b1 moved classMap to separate file 2013-06-17 17:57:53 +02:00
2643daa534 Improve application speed by using classMap for autoloader 2013-06-17 16:38:21 +02:00
e0789ecb82 Removed unused namespace. 2013-06-14 17:23:57 -04:00
d4910ee4f5 Put back Yii::getObjectVars() and fixed infinite loop in Object::toArray(). 2013-06-14 17:23:37 -04:00
0c3bcc467d Moved toArray() from YiiBase to ArrayHelper. 2013-06-14 17:01:20 -04:00
a951e1c8e1 Replaced Jsonable with Arrayable.
Added support for different response formats.
Support for error response in different formats.
2013-06-14 16:26:33 -04:00
6c7672c562 Minor refactoring of t(). 2013-06-07 11:08:15 -04:00
c0ab801fce Merge branch 'master' of github.com:yiisoft/yii2 2013-06-07 11:02:35 -04:00
29ac3aeea6 Added Jsonable support. 2013-06-07 11:02:26 -04:00
a08399bcc5 Yii::t() minor fix. 2013-06-07 20:56:02 +06:00
03c2c1e0f1 YiiBase jQuery UI alias 2013-05-23 18:33:43 +04:00
f72105166c reorganized the main repo to satisfy PSR-0. 2013-05-21 21:19:05 -04:00