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

Public Member Functions

 getCategory ($category_srl)
 
 getPackages ()
 
 getInstalledPackage ($package_srl)
 
 getPackage ($package_srl)
 
 getCategoryList ()
 
 getPackageCount ($category_srl)
 
 getInstalledPackageCount ()
 
 setDepth (&$item, $depth, &$list, &$resultList)
 
 getLatestPackage ()
 
 getInstalledPackages ($package_list)
 
 getInstalledPackageList ($page)
 
 getTypeFromPath ($path)
 
 getConfigFilePath ($type)
 
 checkRemovable ($path)
 
 getPackageSrlByPath ($path)
 
 getRemoveUrlByPackageSrl ($packageSrl)
 
 getRemoveUrlByPath ($path)
 
 getUpdateUrlByPackageSrl ($packageSrl)
 
 getUpdateUrlByPath ($path)
 
 getHaveInstance ($columnList=array())
 
- 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

Model class of the autoinstall module

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

Definition at line 8 of file autoinstall.model.php.

Member Function Documentation

autoinstallModel::checkRemovable (   $path)

Returns target is removable

Parameters
string$pathPath
Returns
bool

Definition at line 315 of file autoinstall.model.php.

autoinstallModel::getCategory (   $category_srl)

Get category information

Parameters
int$category_srlThe sequence of category to get information
Returns
object

Definition at line 17 of file autoinstall.model.php.

autoinstallModel::getCategoryList ( )

Get category list

Returns
array

Definition at line 85 of file autoinstall.model.php.

autoinstallModel::getConfigFilePath (   $type)

Get config file path by type

Parameters
string$typeType to get config file path
Returns
string

Definition at line 280 of file autoinstall.model.php.

autoinstallModel::getHaveInstance (   $columnList = array())

Definition at line 452 of file autoinstall.model.php.

autoinstallModel::getInstalledPackage (   $package_srl)

Get installed packages information

Parameters
int$package_srlThe sequence of package to get information
Returns
object

Definition at line 50 of file autoinstall.model.php.

autoinstallModel::getInstalledPackageCount ( )

Get installed package count

Returns
int

Definition at line 143 of file autoinstall.model.php.

autoinstallModel::getInstalledPackageList (   $page)

Get installed package list

Parameters
int$page
Returns
BaseObject

Definition at line 223 of file autoinstall.model.php.

autoinstallModel::getInstalledPackages (   $package_list)

Get installed package informations

Parameters
array$package_listPackage sequence list to get information
Returns
array Returns array contains pacakge information. If no result returns empty array.

Definition at line 200 of file autoinstall.model.php.

autoinstallModel::getLatestPackage ( )

Get lastest package information

Returns
object Returns lastest package information. If no result returns null.

Definition at line 184 of file autoinstall.model.php.

autoinstallModel::getPackage (   $package_srl)

Get one package information

Parameters
int$package_srlThe sequence of package to get information
Returns
object

Definition at line 68 of file autoinstall.model.php.

autoinstallModel::getPackageCount (   $category_srl)

Get pcakge count in category

Parameters
int$category_srlThe sequence of category to get count
Returns
int

Definition at line 126 of file autoinstall.model.php.

autoinstallModel::getPackages ( )

Get packages information

Returns
array

Definition at line 34 of file autoinstall.model.php.

autoinstallModel::getPackageSrlByPath (   $path)

Get sequence of package by path

Parameters
string$pathPath to get sequence
Returns
int

Definition at line 340 of file autoinstall.model.php.

autoinstallModel::getRemoveUrlByPackageSrl (   $packageSrl)

Get remove url by package srl

Parameters
int$packageSrlSequence of pakcage to get url
Returns
string

Definition at line 370 of file autoinstall.model.php.

autoinstallModel::getRemoveUrlByPath (   $path)

Get remove url by path

Parameters
string$pathPath to get url
Returns
string

Definition at line 392 of file autoinstall.model.php.

autoinstallModel::getTypeFromPath (   $path)

Get type using path

Parameters
string$pathPath to get type
Returns
string

Definition at line 252 of file autoinstall.model.php.

autoinstallModel::getUpdateUrlByPackageSrl (   $packageSrl)

Get update url by package srl

Parameters
int$packageSrlSequence to get url
Returns
string

Definition at line 420 of file autoinstall.model.php.

autoinstallModel::getUpdateUrlByPath (   $path)

Get update url by path

Parameters
string$pathPath to get url
Returns
string

Definition at line 436 of file autoinstall.model.php.

autoinstallModel::setDepth ( $item,
  $depth,
$list,
$resultList 
)

Set depth, children list and package count of category

Parameters
object$itemCategory information
int$depthDepth of category
array$listCategory list
array$resultListFinal result list
Returns
string $siblingList Comma seperated list

Definition at line 162 of file autoinstall.model.php.


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