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)
|
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 |
Qiang Xue
|
0d814fa523
|
Moved "framework" to "iii".
|
12 years ago |
Qiang Xue
|
b68bd8ef63
|
Fixed Yii::importNamespaces() bug.
|
12 years ago |
Suralc
|
882a611666
|
Removed static variable from autoload per qiangxue's suggestion
|
12 years ago |
Suralc
|
bac5c0e729
|
Check if trait was loaded
|
12 years ago |
Alexander Kochetov
|
48d04fbb8c
|
!== array() => !empty()
|
12 years ago |
Alexander Kochetov
|
d7df7053e0
|
=== array() => empty()
|
12 years ago |
Qiang Xue
|
50aa72467f
|
Renamed YiiBase to \yii\YiiBase.
|
12 years ago |
Qiang Xue
|
97992bdc89
|
Fixes for issue #81.
|
12 years ago |
Qiang Xue
|
d22e8ea34b
|
Added YiiBase::importNamespaces().
|
12 years ago |
Qiang Xue
|
0416e01414
|
script WIP
|
12 years ago |
Qiang Xue
|
7599d7860c
|
refactored getAlias and setAlias.
|
12 years ago |
Qiang Xue
|
f22dd82fb6
|
refactored autoloader.
|
12 years ago |
Qiang Xue
|
bcc833200a
|
simplified Yii::import().
|
12 years ago |
Qiang Xue
|
6ae715ff8a
|
refactored autoloading.
|
12 years ago |
Qiang Xue
|
e2864ca522
|
refactoring autoloading (WIP)
|
12 years ago |
Qiang Xue
|
fc415b154c
|
normalize class name.
|
12 years ago |
Qiang Xue
|
c146d6c5e3
|
allow global configuration of classes.
|
12 years ago |
Qiang Xue
|
c629ad776a
|
Finished plural forms.
|
12 years ago |
Qiang Xue
|
78457bf009
|
fetching plural rule data.
|
12 years ago |