Extension
Variables
Methods
- Parameters:
-
$contentId - -
$forceInit -
Assign value to templates
- Parameters:
-
string$key - key of variable -
string$value - value of variable
Returns the template output.
- Parameters:
-
string$templateName - path to filename containing template -
string$cacheId - smarty cache id -
Returns an associative array of extension's global controls objects (defined in localConfig section, in config.xml).
Returns an associative array of extension's local controls objects (defined in localConfig section, in config.xml).
Returns html code for output inside of extension module in CMS backend
Subscribes extension to specified event. Extension should have a function which has the same name as an event name.
- Parameters:
-
$eventName - name of event
void UnregisterEvent(
$eventName) Unsubscribes extension from specified event.
- Parameters:
-
$eventName - name of event
Updates extension's local parameters in database
- Parameters:
-
$params - an associative array with parameters to update ARRAY[KEY] = VALUE