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

Public Member Functions

 init ()
 
 rearrange (&$item, &$targets)
 
 rearranges ($items, $packages=null)
 
 dispAutoinstallAdminInstalledPackages ()
 
 dispAutoinstallAdminInstall ()
 
 dispAutoinstallAdminIndex ()
 
 dispCategory ()
 
 dispAutoinstallAdminUninstall ()
 
- 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 ()
 

Public Attributes

 $categories
 
 $ftp_set = FALSE
 
- 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

Admin view class in 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.admin.view.php.

Member Function Documentation

autoinstallAdminView::dispAutoinstallAdminIndex ( )

Display package list

Returns
BaseObject

Definition at line 389 of file autoinstall.admin.view.php.

autoinstallAdminView::dispAutoinstallAdminInstall ( )

Display install package

Returns
BaseObject

Definition at line 352 of file autoinstall.admin.view.php.

autoinstallAdminView::dispAutoinstallAdminInstalledPackages ( )

Display installed packages

Returns
BaseObject

Definition at line 297 of file autoinstall.admin.view.php.

autoinstallAdminView::dispAutoinstallAdminUninstall ( )

Display uninstall package

Returns
BaseObject

Definition at line 505 of file autoinstall.admin.view.php.

autoinstallAdminView::dispCategory ( )

Display category

Returns
void

Definition at line 493 of file autoinstall.admin.view.php.

autoinstallAdminView::init ( )

initialize

Returns
void

Definition at line 28 of file autoinstall.admin.view.php.

autoinstallAdminView::rearrange ( $item,
$targets 
)

Rearrange one item

$item:
stdClass Object
(
    [category_srl] => stdClass Object
        (
            [body] => xxx
        )
    [package_srl] => stdClass Object
        (
            [body] => xxx
        )
    ...
    [depfrom] => stdClass Object
        (
            [body] => xxx
        )
)
$targets:
array('category_srl', 'package_srl', 'item_screenshot_url', 'package_voted', 'package_voter', 'package_description', 'package_downloaded', 'item_regdate', 'title', 'item_version', 'package_star', 'depfrom');
returns:
stdClass Object
(
    [category_srl] => xxx
    [package_srl] => xxx
    ...
    [depfrom] => xxx
)
Parameters
object$item
object$targets
Returns
object

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

autoinstallAdminView::rearranges (   $items,
  $packages = null 
)

Rearrage all item

$items:
Array
(
    [0] => stdClass Object
        (
            [category_srl] => stdClass Object
                (
                    [body] => xxx
                )
            [package_srl] => stdClass Object
                (
                    [body] => xxx
                )
            ...
            [depfrom] => stdClass Object
                (
                    [body] => xxx
                )
        )
    [1] => stdClass Object
        (
            ...
        )
    ...
)
$packages:
Array
(
    [package_srl] => stdClass Object
        (
            [current_version] => xxx
            [need_update] => xxx
            [path] => xxx
            ...
        )
    ...
)
return:
Array
(
    [package_srl] => stdClass Object
        (
            [category_srl] => xxx
            [package_srl] => xxx
            ...
            [category] => xxx
            [current_version] => xxx
            [type] => xxx
            [need_update] => xxx
            [avail_remove] => xxx
            [deps] => Array
                (
                    [0] => xxx
                    ...
                )
        )
    ...
)
Parameters
object$itemsRecived data from server
object$packagesLocal data
Returns
object

Definition at line 170 of file autoinstall.admin.view.php.

Member Data Documentation

autoinstallAdminView::$categories

Definition at line 15 of file autoinstall.admin.view.php.

autoinstallAdminView::$ftp_set = FALSE

Definition at line 21 of file autoinstall.admin.view.php.


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