A lightweight Yii application embedded into OpenCart
- Yii is available from anywhere in OpenCart using
Yii::app()
orYii::foobar
- OpenCart registry is available from anywhere in Yii using
Yii::app()->registry
- Controllers and Modules are handled by the OpenCart not_found.php controller
- Models are built that represent all OpenCart-1.5.6 tables including relations
- Generate models for all your tables in one step and create standard Yii Crud using Gii
- Autoload any of your Yii models and components from anywhere in OpenCart
- Widgets can be rendered and will auto-include their stylesheet and javascript files
- OpenCart controllers and child actions can be run within Yii
- Uses Yii pretty error message and stack dump
The following Yii components are pre-configured to work in your OpenCart:
Yii::app()->assetManager
- CAssetManagerYii::app()->clientScript
- CClientScriptYii::app()->controller
- CControllerYii::app()->db
- CDbConnectionYii::app()->errorHandler
- CErrorHandlerYii::app()->session
- CHttpSessionYii::app()->urlManager
- CUrlManager
- Does this README need improvement? Go ahead and suggest a change.
- Found a bug, or need help using this project? Check the open issues or create an issue.
BSD-3-Clause, Copyright © 2013-2014 Mr PHP