Public Member Functions | |
init () | |
procAddonAdminSaveActivate () | |
procAddonAdminToggleActivate () | |
procAddonAdminSetupAddon () | |
doInsert ($addon, $site_srl=0, $gtype= 'site', $isUsed= 'N') | |
doActivate ($addon, $site_srl=0, $type="pc", $gtype= 'site') | |
doDeactivate ($addon, $site_srl=0, $type="pc", $gtype= 'site') | |
Public Member Functions inherited from addonController | |
init () | |
getCacheFilePath ($type="pc") | |
_getMidList ($selected_addon, $site_srl=0) | |
makeCacheFile ($site_srl=0, $type="pc", $gtype= 'site') | |
doSetup ($addon, $extra_vars, $site_srl=0, $gtype= 'site') | |
removeAddonConfig ($site_srl) | |
Public Member Functions inherited from addon | |
moduleInstall () | |
checkUpdate () | |
moduleUpdate () | |
recompileCache () | |
Public Member Functions inherited from ModuleObject | |
setModule ($module) | |
setModulePath ($path) | |
setRedirectUrl ($url= './', $output=NULL) | |
getRedirectUrl () | |
setMessage ($message= 'success', $type=NULL) | |
setMessageType ($type) | |
getMessageType () | |
setRefreshPage () | |
setAct ($act) | |
setModuleInfo ($module_info, $xml_info) | |
stop ($msg_code) | |
setTemplateFile ($filename) | |
getTemplateFile () | |
setTemplatePath ($path) | |
getTemplatePath () | |
setEditedLayoutFile ($filename) | |
getEditedLayoutFile () | |
setLayoutFile ($filename) | |
getLayoutFile () | |
setLayoutPath ($path) | |
getLayoutPath ($layout_name="", $layout_type="P") | |
proc () | |
Public Member Functions inherited from BaseObject | |
__construct ($error=0, $message= 'success') | |
setError ($error=0) | |
getError () | |
setHttpStatusCode ($code= '200') | |
getHttpStatusCode () | |
setMessage ($message= 'success', $type=NULL) | |
getMessage () | |
add ($key, $val) | |
adds ($object) | |
get ($key) | |
gets () | |
getVariables () | |
getObjectVars () | |
toBool () | |
toBoolean () | |
Additional Inherited Members | |
Public Attributes inherited from ModuleObject | |
$mid = NULL | |
string to represent run-time instance of Module (XE Module) More... | |
$module = NULL | |
Class name of Xe Module that is identified by mid. More... | |
$module_srl = NULL | |
integer value to represent a run-time instance of Module (XE Module) More... | |
$module_info = NULL | |
an object containing the module information More... | |
$origin_module_info = NULL | |
$xml_info = NULL | |
an object containing the module description extracted from XML file More... | |
$module_path = NULL | |
a path to directory where module source code resides More... | |
$act = NULL | |
a string value to contain the action name More... | |
$template_path = NULL | |
a path of directory where template files reside More... | |
$template_file = NULL | |
name of template file More... | |
$layout_path = '' | |
a path of directory where layout files reside More... | |
$layout_file = '' | |
name of layout file More... | |
$edited_layout_file = '' | |
name of temporary layout files that is modified in an admin mode More... | |
$stop_proc = FALSE | |
a flag to indicating whether to stop the execution of code. More... | |
$module_config = NULL | |
$ajaxRequestMethod = array('XMLRPC', 'JSON') | |
$gzhandler_enable = TRUE | |
Public Attributes inherited from BaseObject | |
$error = 0 | |
$message = 'success' | |
$variables = array() | |
$httpStatusCode = NULL | |
Admin controller class of addon modules
Definition at line 10 of file addon.admin.controller.php.
addonAdminController::doActivate | ( | $addon, | |
$site_srl = 0 , |
|||
$type = "pc" , |
|||
$gtype = 'site' |
|||
) |
Activate addon
string | $addon | Addon name |
int | $site_srl | Site srl |
string | $type | pc or modile |
string | $gtype | site or global |
Definition at line 252 of file addon.admin.controller.php.
addonAdminController::doDeactivate | ( | $addon, | |
$site_srl = 0 , |
|||
$type = "pc" , |
|||
$gtype = 'site' |
|||
) |
Deactivate Addon
string | $addon | Addon name |
int | $site_srl | Site srl |
string | $type | pc or mobile |
string | $gtype | site or global |
Definition at line 280 of file addon.admin.controller.php.
addonAdminController::doInsert | ( | $addon, | |
$site_srl = 0 , |
|||
$gtype = 'site' , |
|||
$isUsed = 'N' |
|||
) |
Adds addon to DB
string | $addon | Addon name |
int | $site_srl | Site srl |
string | $gtype | site or global |
string | $isUsed | Whether to use |
Definition at line 230 of file addon.admin.controller.php.
addonAdminController::init | ( | ) |
addonAdminController::procAddonAdminSaveActivate | ( | ) |
addonAdminController::procAddonAdminSetupAddon | ( | ) |
Add the configuration information input
Definition at line 196 of file addon.admin.controller.php.
addonAdminController::procAddonAdminToggleActivate | ( | ) |
Add active/inactive change
Definition at line 162 of file addon.admin.controller.php.