Username:
Password:
Home
Help
Search
Downloads
Login
Register
CubeCart - FreeForums For All
»
CubeCart 5
»
Developer's Kit
»
Module Class
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Module Class
Chief!
Administrator
Newbie
Posts: 13
Module Class
«
on:
February 21, 2012, 10:25:58 PM »
CubeCart 5.0.7
Module controller
+ _settings; array; Module settings
- _content; string; Module content
- _info = false; array; Module info
- _local_name; string; Module local name
- _module_name; string; Module name
- _package_file = 'package.conf.inc'; string; Module package file
- _package_xml = 'config.xml'; string; Module config file
- _path; string; Module path
- _strings; array of strings; Module language strings
- _taxes; array; Taxes
- _template; string; Template to load in the module
- _template_data = array(); array; Template data
+ __construct($path = false, $local_name = false, $template = 'index.tpl', $zones = false, $fetch = true)
+ __get($key); Get a module value
+ assign_to_template($name, $value); Assign data to the template
+ communicateURL($method = 'process'); Generate URL
+ display($return = true); Display module content
+ fetch(); Send template date to the screen
+ module_fetch_logo($type, $name, $module_title = ''); Get module logo
+ module_language(); Get module language strings
+ module_name(&$module_name);(static) Get module name
+ module_settings_save($settings); Save module settings
- _module_classes(); Load module classes
- _module_data($path = false, $local_name = false); Get module data
- _module_zones(); Load module zones
Report to moderator
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Information
-----------------------------
=> News and Announcements
=> Feedback and Suggestions
-----------------------------
CubeCart 5
-----------------------------
=> Functionality
===> Major Modifications
===> Minor Hacking
=> Appearance
===> Major Makeovers
===> Minor Tweaks
=> Operations
===> Presentation and Marketing
===> Administration and Management
=> Innovations
=> Developer's Kit
-----------------------------
CubeCart 3
-----------------------------
=> Functionality
===> Major Modifications
===> Minor Hacking
=> Appearance
===> Major Makeovers
===> Minor Tweaks
=> Operations
===> Presentation and Marketing
===> Administration and Management
=> Innovations
=> Developer's Kit
Loading...