Carsten Brandt
11 years ago
3 changed files with 5 additions and 49 deletions
@ -1,19 +0,0 @@
|
||||
Yii2 class loader |
||||
================= |
||||
|
||||
Yii 2 class loader is PSR-4 compliant. That means it can handle most of the PHP |
||||
libraries and frameworks out there. |
||||
|
||||
In order to autoload a library you need to set a root alias for it. |
||||
|
||||
PEAR-style libraries |
||||
-------------------- |
||||
|
||||
```php |
||||
\Yii::setAlias('@Twig', '@app/vendors/Twig'); |
||||
``` |
||||
|
||||
References |
||||
---------- |
||||
|
||||
- BaseYii::autoload |
@ -1,27 +0,0 @@
|
||||
Working with Database |
||||
===================== |
||||
|
||||
Architecture |
||||
------------ |
||||
|
||||
### Data Access Object (DAO) |
||||
|
||||
* Connection |
||||
* Command |
||||
* DataReader |
||||
* Transaction |
||||
|
||||
### Schema |
||||
|
||||
* TableSchema |
||||
* ColumnSchema |
||||
|
||||
### Query Builder |
||||
|
||||
* Query |
||||
* QueryBuilder |
||||
|
||||
### ActiveRecord |
||||
|
||||
* ActiveRecord |
||||
* ActiveQuery |
Loading…
Reference in new issue