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

Public Member Functions

 init ()
 
 procDocumentAdminDeleteChecked ()
 
 moveDocumentModule ($document_srl_list, $module_srl, $category_srl)
 
 copyDocumentModule ($document_srl_list, $module_srl, $category_srl)
 
 deleteModuleDocument ($module_srl)
 
 procDocumentAdminInsertConfig ()
 
 procDocumentAdminCancelDeclare ()
 
 procDocumentAdminDeleteAllThumbnail ()
 
 deleteThumbnailFile ($path)
 
 procDocumentAdminInsertExtraVar ()
 
 procDocumentAdminDeleteExtraVar ()
 
 procDocumentAdminMoveExtraVar ()
 
 procDocumentAdminInsertAlias ()
 
 procDocumentAdminDeleteAlias ()
 
 procDocumentAdminMoveToTrash ()
 move a document to trash. More...
 
 procDocumentAdminRestoreTrash ()
 
 restoreTrash ($originObject)
 
 emptyTrash ($originObject)
 
- Public Member Functions inherited from document
 moduleInstall ()
 
 checkUpdate ()
 
 moduleUpdate ()
 
 recompileCache ()
 
 getStatusList ()
 
 getDefaultStatus ()
 
 getConfigStatus ($key)
 
- 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 document
 $search_option = array('title','content','title_content','user_name',)
 
 $statusList = array('private'=>'PRIVATE', 'public'=>'PUBLIC', 'secret'=>'SECRET', 'temp'=>'TEMP')
 
- 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

Definition at line 12 of file document.admin.controller.php.

Member Function Documentation

documentAdminController::copyDocumentModule (   $document_srl_list,
  $module_srl,
  $category_srl 
)

Copy the post

Parameters
array$document_srl_list
int$module_srl
int$category_srl
Returns
object

Definition at line 234 of file document.admin.controller.php.

documentAdminController::deleteModuleDocument (   $module_srl)

Delete all documents of the module

Parameters
int$module_srl
Returns
object

Definition at line 458 of file document.admin.controller.php.

documentAdminController::deleteThumbnailFile (   $path)

Delete thumbnails with subdirectory

Returns
void

Definition at line 548 of file document.admin.controller.php.

documentAdminController::emptyTrash (   $originObject)

Empty document in trash, called by trash module This method is passived

Parameters
string$originObjectstring is serialized object
Returns
object

Definition at line 938 of file document.admin.controller.php.

documentAdminController::init ( )

Initialization

Returns
void

Definition at line 18 of file document.admin.controller.php.

documentAdminController::moveDocumentModule (   $document_srl_list,
  $module_srl,
  $category_srl 
)

Change the module to move a specific article

Parameters
array$document_srl_list
int$module_srl
int$category_srl
Returns
BaseObject

Definition at line 54 of file document.admin.controller.php.

documentAdminController::procDocumentAdminCancelDeclare ( )

Revoke declaration of the blacklisted posts

Returns
object

Definition at line 517 of file document.admin.controller.php.

documentAdminController::procDocumentAdminDeleteAlias ( )

Delete alias for document

Returns
void|object

Definition at line 736 of file document.admin.controller.php.

documentAdminController::procDocumentAdminDeleteAllThumbnail ( )

Delete all thumbnails

Returns
void

Definition at line 533 of file document.admin.controller.php.

documentAdminController::procDocumentAdminDeleteChecked ( )

Remove the selected docs from admin page

Returns
void

Definition at line 26 of file document.admin.controller.php.

documentAdminController::procDocumentAdminDeleteExtraVar ( )

Delete extra variables of the module

Returns
void|object

Definition at line 615 of file document.admin.controller.php.

documentAdminController::procDocumentAdminInsertAlias ( )

Insert alias for document

Returns
void|object

Definition at line 712 of file document.admin.controller.php.

documentAdminController::procDocumentAdminInsertConfig ( )

Save the default settings of the document module

Returns
object

Definition at line 494 of file document.admin.controller.php.

documentAdminController::procDocumentAdminInsertExtraVar ( )

Add or modify extra variables of the module

Returns
void|object

Definition at line 568 of file document.admin.controller.php.

documentAdminController::procDocumentAdminMoveExtraVar ( )

Control the order of extra variables

Returns
void|object

Definition at line 632 of file document.admin.controller.php.

documentAdminController::procDocumentAdminMoveToTrash ( )

move a document to trash.

See Also
documentModel::getDocumentMenu

Definition at line 752 of file document.admin.controller.php.

documentAdminController::procDocumentAdminRestoreTrash ( )

Restor document from trash

Returns
void|object

Definition at line 826 of file document.admin.controller.php.

documentAdminController::restoreTrash (   $originObject)

Restore document from trash module, called by trash module This method is passived

Parameters
object | array$originObject
Returns
object

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


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