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

Public Member Functions

 init ()
 
 procImporterAdminCheckXmlFile ()
 
 procImporterAdminSync ()
 
 procImporterAdminPreProcessing ()
 
 procImporterAdminImport ()
 
 importMember ($key, $cur, $index_file)
 
 importMessage ($key, $cur, $index_file)
 
 importModule ($key, $cur, $index_file, $module_srl)
 
 importTrackbacks ($fp, $module_srl, $document_srl)
 
 importComments ($fp, $module_srl, $document_srl)
 
 importAttaches ($fp, $module_srl, $upload_target_srl, &$files)
 
 getTmpFilename ()
 
 saveTemporaryFile ($fp)
 
 importExtraVars ($fp)
 
- Public Member Functions inherited from importer
 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

 $unit_count = 300
 
 $oXmlParser = null
 
- 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 14 of file importer.admin.controller.php.

Member Function Documentation

importerAdminController::getTmpFilename ( )

Return a filename to temporarily use

Returns
string

Definition at line 1190 of file importer.admin.controller.php.

importerAdminController::importAttaches (   $fp,
  $module_srl,
  $upload_target_srl,
$files 
)

Import attachment

Parameters
resource$fp
int$module_srl
int$upload_target_srl
array$files
Returns
int

Definition at line 1065 of file importer.admin.controller.php.

importerAdminController::importComments (   $fp,
  $module_srl,
  $document_srl 
)

Comments

Parameters
resource$fp
int$module_srl
int$document_srl
Returns
int

Definition at line 925 of file importer.admin.controller.php.

importerAdminController::importExtraVars (   $fp)

Set extra variables

Parameters
resource$fp
Returns
array

Definition at line 1233 of file importer.admin.controller.php.

importerAdminController::importMember (   $key,
  $cur,
  $index_file 
)

Import member information

Parameters
int$key
int$cur
string$index_file
Returns
int

Definition at line 345 of file importer.admin.controller.php.

importerAdminController::importMessage (   $key,
  $cur,
  $index_file 
)

Import message information parsed from a given xml file

Parameters
int$key
int$cur
string$index_file
Returns
int

Definition at line 532 of file importer.admin.controller.php.

importerAdminController::importModule (   $key,
  $cur,
  $index_file,
  $module_srl 
)

Import data in module.xml format

Parameters
int$key
int$cur
string$index_file
int$module_srl
Returns
int

Definition at line 631 of file importer.admin.controller.php.

importerAdminController::importTrackbacks (   $fp,
  $module_srl,
  $document_srl 
)

Trackbacks

Parameters
resource$fp
int$module_srl
int$document_srl
Returns
int

Definition at line 877 of file importer.admin.controller.php.

importerAdminController::init ( )

Initialization

Returns
void

Definition at line 31 of file importer.admin.controller.php.

importerAdminController::procImporterAdminCheckXmlFile ( )

Check whether the passing filename exists or not. Detect the file type, too.

Returns
void

Definition at line 39 of file importer.admin.controller.php.

importerAdminController::procImporterAdminImport ( )

Migrate data after completing xml file extraction

Returns
void

Definition at line 281 of file importer.admin.controller.php.

importerAdminController::procImporterAdminPreProcessing ( )

Pre-analyze the xml file and cache it

Returns
void

Definition at line 172 of file importer.admin.controller.php.

importerAdminController::procImporterAdminSync ( )

Sync member information with document information

Returns
void

Definition at line 99 of file importer.admin.controller.php.

importerAdminController::saveTemporaryFile (   $fp)

Read buff until key value comes out from a specific file point

Parameters
resource$fp
Returns
string

Definition at line 1204 of file importer.admin.controller.php.

Member Data Documentation

importerAdminController::$oXmlParser = null

Definition at line 25 of file importer.admin.controller.php.

importerAdminController::$unit_count = 300

Definition at line 20 of file importer.admin.controller.php.


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