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

Public Member Functions

 init ()
 
 procLayoutAdminInsert ()
 
 insertLayout ($args)
 
 initLayout ($layout_srl, $layout_name)
 
 procLayoutAdminUpdate ()
 
 updateLayout ($args)
 
 procLayoutAdminDelete ()
 
 deleteLayout ($layout_srl, $force=FALSE)
 
 procLayoutAdminCodeUpdate ()
 
 procLayoutAdminCodeReset ()
 
 procLayoutAdminUserImageUpload ()
 
 insertUserLayoutImage ($layout_srl, $source)
 
 procLayoutAdminUserImageDelete ()
 
 removeUserLayoutImage ($layout_srl, $filename)
 
 procLayoutAdminUserValueInsert ()
 
 insertUserLayoutValue ($layout_srl, $arr)
 
 addExtension ($layout_srl, $arg, $content)
 
 deleteUserLayoutTempFile ($layout_srl)
 
 procLayoutAdminUserLayoutExport ()
 
 procLayoutAdminUserLayoutImport ()
 
 procLayoutAdminCopyLayout ()
 
 _copyLayoutFile ($sourceLayoutSrl, $targetLayoutSrl)
 
 _changeFilepathInSource ($file, $source, $target)
 
 importLayout ($layout_srl, $source_file)
 
 procLayoutAdminConfigImageUpload ()
 
 procLayoutAdminConfigImageDelete ()
 
- Public Member Functions inherited from layout
 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
 

Detailed Description

Author
NAVER (devel.nosp@m.oper.nosp@m.s@xpr.nosp@m.esse.nosp@m.ngine.nosp@m..com) admin controller class of the layout module

Definition at line 8 of file layout.admin.controller.php.

Member Function Documentation

layoutAdminController::_changeFilepathInSource (   $file,
  $source,
  $target 
)

Change resource file path in Layout file

Parameters
string$file
Returns
void

Definition at line 878 of file layout.admin.controller.php.

layoutAdminController::_copyLayoutFile (   $sourceLayoutSrl,
  $targetLayoutSrl 
)

Layout file copy

Parameters
$sourceLayoutSrlorigin layout number
$targetLayoutSrlorigin layout number
Returns
void

Definition at line 849 of file layout.admin.controller.php.

layoutAdminController::addExtension (   $layout_srl,
  $arg,
  $content 
)

Add the widget code for faceoff into user layout file

Parameters
int$layout_srl
object$arg
string$content
Returns
string

Definition at line 551 of file layout.admin.controller.php.

layoutAdminController::deleteLayout (   $layout_srl,
  $force = FALSE 
)

Delete layout xml cache file

Parameters
int$layout_srl
Returns
BaseObject

Definition at line 288 of file layout.admin.controller.php.

layoutAdminController::deleteUserLayoutTempFile (   $layout_srl)

Delete temp files for faceoff

Parameters
int$layout_srl
Returns
void

Definition at line 577 of file layout.admin.controller.php.

layoutAdminController::importLayout (   $layout_srl,
  $source_file 
)

import layout

Parameters
int$layout_srl
string$source_filepath of imported file
Returns
void

Definition at line 891 of file layout.admin.controller.php.

layoutAdminController::init ( )

Initialization

Returns
void

Definition at line 14 of file layout.admin.controller.php.

layoutAdminController::initLayout (   $layout_srl,
  $layout_name 
)

Initiate if it is faceoff layout

Parameters
int$layout_srl
string$layout_name
Returns
void

Definition at line 69 of file layout.admin.controller.php.

layoutAdminController::insertLayout (   $args)

Insert layout information into the DB

Parameters
object$argslayout information
Returns
BaseObject

Definition at line 57 of file layout.admin.controller.php.

layoutAdminController::insertUserLayoutImage (   $layout_srl,
  $source 
)

insert image into user layout

Parameters
int$layout_srl
object$sourcefile data
Returns
boolean (true : success, false : fail)

Definition at line 426 of file layout.admin.controller.php.

layoutAdminController::insertUserLayoutValue (   $layout_srl,
  $arr 
)

Layout setting, save "ini"

Parameters
int$layout_srl
object$arrlayout ini
Returns
void

Definition at line 537 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminCodeReset ( )

Reset layout code

Returns
void|BaseObject (void : success, BaseObject : fail)

Definition at line 376 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminCodeUpdate ( )

Adding Layout Code

Returns
void|BaseObject (void : success, BaseObject : fail)

Definition at line 343 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminConfigImageDelete ( )

Delete config image

Definition at line 969 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminConfigImageUpload ( )

Upload config image

Definition at line 921 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminCopyLayout ( )

layout copy

Returns
void

Definition at line 714 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminDelete ( )

Delete Layout Delete xml cache file too when deleting a layout

Returns
BaseObject

Definition at line 276 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminInsert ( )

Create a new layout Insert a title into "layouts" table in order to create a layout

Deprecated:
Returns
void|BaseObject (void : success, BaseObject : fail)

Definition at line 24 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminUpdate ( )

Update layout information Apply a title of the new layout and extra vars

Returns
BaseObject

Definition at line 89 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminUserImageDelete ( )

Layout setting page -> Delete an image

Returns
void

Definition at line 451 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminUserImageUpload ( )

Layout setting page -> Upload an image

Returns
void

Definition at line 405 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminUserLayoutExport ( )

export user layout

Returns
void

Definition at line 591 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminUserLayoutImport ( )

faceoff import

Deprecated:
Returns
void

Definition at line 687 of file layout.admin.controller.php.

layoutAdminController::procLayoutAdminUserValueInsert ( )

Save layout configuration save in "ini" format for faceoff

Deprecated:
Returns
void|BaseObject (void : success, BaseObject : fail)

Definition at line 480 of file layout.admin.controller.php.

layoutAdminController::removeUserLayoutImage (   $layout_srl,
  $filename 
)

delete image into user layout

Parameters
int$layout_srl
string$filename
Returns
void

Definition at line 466 of file layout.admin.controller.php.

layoutAdminController::updateLayout (   $args)

Update layout information into the DB

Parameters
object$args
Returns
BaseObject

Definition at line 259 of file layout.admin.controller.php.


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