ModuleObject
ModuleObject (전역 클래스) 클래스의 공개 메서드 목록입니다. 이 문서는 Zittme 코어 소스에서 자동 생성되었습니다.
소스: classes/module/ModuleObject.class.php
공개 메서드
function __construct($error = 0, $message = 'success')- Constructor
static function getInstance($module_hint = null)- Singleton
function setModule($module)- setter to set the name of module
function setModulePath($path)- setter to set the name of module path
function setRedirectUrl($url = './', $output = NULL)- setter to set an url for redirection
function getRedirectUrl()- get url for redirection
function setRefreshPage()- Set the template path for refresh.html
function setAct($act)- Set the action name
function setModuleInfo($module_info, $xml_info)- Set module information
function setPrivileges()- Set privileges(granted) information of current user and check permission of current module
function checkPermission($grant = null, $member_info = null, &$failed_requirement = '')- Check permission
function stop($msg_code, $error_code = -1)- Stop processing this module instance.
function setTemplateFile($filename)- set the file name of the template file
function getTemplateFile()- retrieve the directory path of the template directory
function setTemplatePath($path)- set the directory path of the template directory
function getTemplatePath()- retrieve the directory path of the template directory
function setEditedLayoutFile($filename)- set the file name of the temporarily modified by admin
function getEditedLayoutFile()- retreived the file name of edited_layout_file
function setLayoutFile($filename)- set the file name of the layout file
function getLayoutFile()- get the file name of the layout file
function setLayoutPath($path)- set the directory path of the layout directory
function getLayoutPath()- set the directory path of the layout directory
function setLayoutAndTemplatePaths($type, $config)- Automatically set layout and template path based on skin settings.
function proc()- excute the member method specified by $act variable
function copyResponseFrom(self $instance)- Copy the response of another ModuleObject into this instance.