-
Notifications
You must be signed in to change notification settings - Fork 5
How to create a module
wakdev edited this page Feb 12, 2013
·
6 revisions
See admin module : /admin/sla_articles/
/languages/
(translations)
fr.php
en.php
/models/
(data model)
articles.php
categories.php
/views/
(module views)
default/
css/
images/
view.php
controller.php
(module controller)
class definition
Admin :
class sla_[MODULENAME]_controller extends slaController implements iController
Front :
class sl_[MODULENAME]_controller extends slController implements iController
class definition
Admin :
class [MODELNAME] extends slaModel implements iModel
Front :
class [MODELNAME] extends slModel implements iModel
class definition
Admin :
class [VIEWNAME] extends slaView implements iView
Front :
class [VIEWNAME] extends slView implements iView