XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
autoinstallAdminController Class Reference
Inheritance diagram for autoinstallAdminController:
autoinstall ModuleObject BaseObject

Public Member Functions

 init ()
 
 checkFileCheckSum ($file, $checksum)
 
 _cleanDownloaded ($obj)
 
 procAutoinstallAdminUpdateinfo ()
 
 _updateinfo ()
 
 checkInstalled ()
 
 procAutoinstallAdminPackageinstall ()
 
 updatePackages (&$xmlDoc)
 
 updateCategory (&$xmlDoc)
 
 procAutoinstallAdminUninstallPackage ()
 
 uninstallPackageByPackageSrl ($package_srl)
 
 uninstallPackageByPath ($path)
 
- Public Member Functions inherited from autoinstall
 __construct ()
 
 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 autoinstall
 $tmp_dir = './files/cache/autoinstall/'
 
- 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
 

Detailed Description

autoinstall module admin controller class

Author
NAVER (devel.nosp@m.oper.nosp@m.s@xpr.nosp@m.esse.nosp@m.ngine.nosp@m..com)

Definition at line 11 of file autoinstall.admin.controller.php.

Member Function Documentation

autoinstallAdminController::_cleanDownloaded (   $obj)

Clean download file

Parameters
object$obj
Returns
void

Definition at line 41 of file autoinstall.admin.controller.php.

autoinstallAdminController::_updateinfo ( )

Update easy install information

Returns
void

Definition at line 63 of file autoinstall.admin.controller.php.

autoinstallAdminController::checkFileCheckSum (   $file,
  $checksum 
)

Check file checksum is equal

Parameters
string$filelocal file path
string$checksumRecieved checksum from server
Returns
bool Returns true on equal local checksum and recieved checksum, otherwise false.

Definition at line 29 of file autoinstall.admin.controller.php.

autoinstallAdminController::checkInstalled ( )

Update installed package information

Returns
void

Definition at line 90 of file autoinstall.admin.controller.php.

autoinstallAdminController::init ( )

Initialization

Definition at line 17 of file autoinstall.admin.controller.php.

autoinstallAdminController::procAutoinstallAdminPackageinstall ( )

Install package

Returns
BaseObject

Definition at line 179 of file autoinstall.admin.controller.php.

autoinstallAdminController::procAutoinstallAdminUninstallPackage ( )

Uninstall package

Returns
BaseObject

Definition at line 312 of file autoinstall.admin.controller.php.

autoinstallAdminController::procAutoinstallAdminUpdateinfo ( )

Update easy install information

Returns
BaseObject

Definition at line 51 of file autoinstall.admin.controller.php.

autoinstallAdminController::uninstallPackageByPackageSrl (   $package_srl)

Uninstall package by package serial number

Returns
BaseObject

Definition at line 337 of file autoinstall.admin.controller.php.

autoinstallAdminController::uninstallPackageByPath (   $path)

Uninstall package by package path

Returns
BaseObject

Definition at line 350 of file autoinstall.admin.controller.php.

autoinstallAdminController::updateCategory ( $xmlDoc)

Update category using recived data from server.

Parameters
object$xmlDocRecived data
Returns
void

Definition at line 287 of file autoinstall.admin.controller.php.

autoinstallAdminController::updatePackages ( $xmlDoc)

Update package informations using recieved data from server

Parameters
object$xmlDocRecieved data
Returns
void

Definition at line 246 of file autoinstall.admin.controller.php.


The documentation for this class was generated from the following file: