Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
ImportAccounts Class Reference
+ Collaboration diagram for ImportAccounts:

Public Member Functions

 import ()
 
 setFile ($file)
 
 setTransactionMode ($transactionMode)
 
 setSessionKey ($sessionKey)
 
 setStopOnError ($stopOnError)
 
 abortSession ()
 
 getSessionMessage ()
 
 setAnalyzeOnly ($analyzeOnly)
 
 getReport ()
 

Data Fields

const ABORTORDER = "::ABORT::"
 

Protected Member Functions

 setSessionMessage ($text)
 
 libxml_display_error ($error)
 
 getXmlError ()
 
 importRoles ()
 
 importGroups ()
 
 importUsers ()
 
 importXMLDocument (\DOMElement $node,\Account $account)
 
 getTmpFile ()
 
 addToReport ($login, $actionType, $error, $msg="", $node=null)
 
 hasErrors ()
 

Protected Attributes

 $file
 
 $xml
 
 $xpath
 
 $analyzeOnly = false
 
 $transactionMode = true
 
 $report = array()
 
 $xsd = "USERCARD/Layout/accounts.xsd"
 
 $familiesXsd = array()
 
 $stopOnError = false
 
 $sessionKey = ''
 

Detailed Description

Definition at line 11 of file ImportAccounts.php.

Member Function Documentation

abortSession ( )

Abort current import session

Definition at line 128 of file ImportAccounts.php.

addToReport (   $login,
  $actionType,
  $error,
  $msg = "",
  $node = null 
)
protected

Definition at line 636 of file ImportAccounts.php.

+ Here is the call graph for this function:

getReport ( )

Definition at line 708 of file ImportAccounts.php.

getSessionMessage ( )

Definition at line 151 of file ImportAccounts.php.

getTmpFile ( )
protected

Definition at line 631 of file ImportAccounts.php.

getXmlError ( )
protected

Definition at line 185 of file ImportAccounts.php.

+ Here is the call graph for this function:

hasErrors ( )
protected

Definition at line 713 of file ImportAccounts.php.

import ( )

Definition at line 51 of file ImportAccounts.php.

+ Here is the call graph for this function:

importGroups ( )
protected

Definition at line 272 of file ImportAccounts.php.

+ Here is the call graph for this function:

importRoles ( )
protected

Definition at line 263 of file ImportAccounts.php.

+ Here is the call graph for this function:

importUsers ( )
protected

Definition at line 281 of file ImportAccounts.php.

+ Here is the call graph for this function:

importXMLDocument ( \DOMElement  $node,
\Account  $account 
)
protected

Definition at line 614 of file ImportAccounts.php.

+ Here is the call graph for this function:

libxml_display_error (   $error)
protected

Definition at line 160 of file ImportAccounts.php.

setAnalyzeOnly (   $analyzeOnly)
Parameters
boolean$analyzeOnly

Definition at line 237 of file ImportAccounts.php.

setFile (   $file)
Parameters
string$fileXML file path to import

Definition at line 100 of file ImportAccounts.php.

setSessionKey (   $sessionKey)
Parameters
string$sessionKey

Definition at line 114 of file ImportAccounts.php.

setSessionMessage (   $text)
protected

Definition at line 135 of file ImportAccounts.php.

setStopOnError (   $stopOnError)
Parameters
boolean$stopOnError

Definition at line 121 of file ImportAccounts.php.

setTransactionMode (   $transactionMode)
Parameters
boolean$transactionMode

Definition at line 107 of file ImportAccounts.php.

Field Documentation

$analyzeOnly = false
protected

Definition at line 25 of file ImportAccounts.php.

$familiesXsd = array()
protected

Definition at line 37 of file ImportAccounts.php.

$file
protected

Definition at line 13 of file ImportAccounts.php.

$report = array()
protected

Definition at line 33 of file ImportAccounts.php.

$sessionKey = ''
protected

Definition at line 43 of file ImportAccounts.php.

$stopOnError = false
protected

Definition at line 39 of file ImportAccounts.php.

$transactionMode = true
protected

Definition at line 29 of file ImportAccounts.php.

$xml
protected

Definition at line 17 of file ImportAccounts.php.

$xpath
protected

Definition at line 21 of file ImportAccounts.php.

$xsd = "USERCARD/Layout/accounts.xsd"
protected

Definition at line 35 of file ImportAccounts.php.

const ABORTORDER = "::ABORT::"

Definition at line 41 of file ImportAccounts.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen