You can see this example for Hierarchy of joomla component structure.
Example:
->com_gallary
->create
Entry file same as component name like gallery.Php
(Not optional)
->create
Controller file like controller.php (Not optional)
->create
models folder(optional if need model)(Create
multiple models)
->create
model file which name is same as
controller name like gallery.php
->create
Cotrollers Folder(optional if need
multiple controller)
->create controller file with
any name if u want to create multiple controller like gallerys.php
->create
tables Folder(optional if need for
insert,update,delete)
->create
tables files with main controller name like controller.php
->create
views folder(Not Optional)(create
multiple views)
->create folder same name a s
controller( not neccessory,Optional) like gallary
->tmpl name
folder
->default.php file and also wtite other
name file
->view.html.php file
No comments :
Post a Comment