Chuyển đến nội dung
Tài liệu

Tra cứu lớp và hàm

ModuleHandler

Danh sách các phương thức công khai của lớp ModuleHandler (lớp toàn cục). Tài liệu này được tạo tự động từ mã nguồn lõi Zittme.

Nguồn: classes/module/ModuleHandler.class.php

Phương thức công khai

  • 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