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 15, 2012, 10:29:41 PM »
Module
+ _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)
Does a lot of things but returns false
+ __get($key)
Get a module value from key, or false
+ assign_to_template($name, $value)
Put a $name => $value, returns true|false
communicateURL($method = 'process')
Returns string URL
+ display($return = true)
Returns|Outputs module content
+ fetch()
Renders template data
module_fetch_logo($type, $name, $module_title = '')
Returns the module's <img>|Title|Name
+ module_language()
Returns module's language strings
+ module_name(&$module_name) static
Returns prepared module's name
+ module_settings_save($settings)
Saves the module's settings, returns true|false
- _module_classes() Load module classes
Return true|false
- _module_data($path = false, $local_name = false)
Get module's data
- _module_zones()
Load and assign CubeCart_geo_country records to template
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...