Skip to content
Docs

Class and function reference

ModuleHandler

List of public methods of the ModuleHandler (global class) class. This document was automatically generated from the Zittme core source.

Source: classes/module/ModuleHandler.class.php

Public methods

  • function __construct($module = '', $act = '', $mid = '', $document_srl = '', $module_srl = '')
  • prepares variables to use in moduleHandler
  • function init()
  • Initialization. It finds the target module based on module, mid, document_srl, and prepares to execute an action
  • function procModule()
  • get a module instance and execute an action
  • function displayContent($oModule = NULL)
  • display contents from executed module
  • static function procCommandLineArguments(array $args)
  • Process command line arguments.
  • static function getModulePath($module)
  • returns module's path
  • static function getModuleInstance($module, $type = 'view', $kind = '')
  • It creates a module instance
  • static function triggerCall($trigger_name, $called_position, &$obj)
  • call a trigger
  • static function _setHttpStatusMessage($code)
  • get http status message by http status code