Public Member Functions | |
setSearchAccount (\SearchAccount $s) | |
export () | |
setExportSchemaDirectory ($exportSchemaDirectory) | |
setSessionKey ($sessionKey) | |
abortSession () | |
isAborted () | |
getSessionMessage () | |
setExportCryptedPassword ($exportCryptedPassword) | |
setExportGroupParent ($exportGroupParent) | |
setExportDocument ($exportDocument) | |
setExportRoleParent ($exportRoleParent) | |
Data Fields | |
const | ABORTORDER = "::ABORT::" |
const | XSDDIR = "XSD" |
Protected Member Functions | |
setSessionMessage ($text) | |
getDepthLevel ($groupIdentifier, $tree) | |
clearInfo () | |
initXml () | |
memoDocumentInfo (\Account $user) | |
addDocumentNodes () | |
writeCommonSchema () | |
addUserAccount (\Account $user) | |
addGroupAccount (\Account $group) | |
addRoleAccount (\Account $role) | |
Static Protected Member Functions | |
static | xpathLiteral ($str) |
Protected Attributes | |
$search = null | |
$xml | |
$sessionKey = '' | |
$exportCryptedPassword = false | |
$exportGroupParent = false | |
$exportRoleParent = false | |
$exportDocument = false | |
$exportSchemaDirectory = "" | |
$aborted = false | |
$documentInfo = array() | |
Definition at line 9 of file ExportAccounts.php.
abortSession | ( | ) |
Abort current export session
Definition at line 150 of file ExportAccounts.php.
|
protected |
Add document node for each recorded account
\Dcp\Exception |
Definition at line 350 of file ExportAccounts.php.
|
protected |
Add group node info
\Account | $group |
Definition at line 654 of file ExportAccounts.php.
|
protected |
Add role node info
\Account | $role |
Definition at line 675 of file ExportAccounts.php.
|
protected |
Add User node info
\Account | $user |
\Dcp\Db\Exception |
Definition at line 608 of file ExportAccounts.php.
|
protected |
Remove empty tags
Definition at line 277 of file ExportAccounts.php.
export | ( | ) |
Return account exportation based on SearchAccount object
Exception |
Definition at line 71 of file ExportAccounts.php.
|
protected |
Definition at line 264 of file ExportAccounts.php.
getSessionMessage | ( | ) |
Definition at line 177 of file ExportAccounts.php.
|
protected |
Definition at line 319 of file ExportAccounts.php.
isAborted | ( | ) |
Definition at line 160 of file ExportAccounts.php.
|
protected |
Record document to add These record are processed in one time at the end of export
\Account | $user |
Definition at line 342 of file ExportAccounts.php.
setExportCryptedPassword | ( | $exportCryptedPassword | ) |
Set to true to export crypted password (default is false)
bool | $exportCryptedPassword |
Definition at line 291 of file ExportAccounts.php.
setExportDocument | ( | $exportDocument | ) |
Set to true to export document information about account (default is false)
bool | $exportDocument |
Definition at line 307 of file ExportAccounts.php.
setExportGroupParent | ( | $exportGroupParent | ) |
Set to true to export parent group definition for user accounts (default is false)
bool | $exportGroupParent |
Definition at line 299 of file ExportAccounts.php.
setExportRoleParent | ( | $exportRoleParent | ) |
Set to true to export relative roles for group and user accounts (default is false)
bool | $exportRoleParent |
Definition at line 315 of file ExportAccounts.php.
setExportSchemaDirectory | ( | $exportSchemaDirectory | ) |
string | $exportSchemaDirectory |
Exception |
Definition at line 126 of file ExportAccounts.php.
setSearchAccount | ( | \SearchAccount | $s | ) |
Define accounts to exports
\SearchAccount | $s |
Definition at line 62 of file ExportAccounts.php.
setSessionKey | ( | $sessionKey | ) |
string | $sessionKey |
Definition at line 143 of file ExportAccounts.php.
|
protected |
Definition at line 164 of file ExportAccounts.php.
|
protected |
Definition at line 405 of file ExportAccounts.php.
|
staticprotected |
Convert a string to an XPath literal
If the string contains an apostrophe, then a concat() is used to construct the string literal expression.
If no apostrophe is found, then quote the string with apostrophes.
$str |
Definition at line 701 of file ExportAccounts.php.
|
protected |
Definition at line 53 of file ExportAccounts.php.
|
protected |
Definition at line 55 of file ExportAccounts.php.
|
protected |
Definition at line 41 of file ExportAccounts.php.
|
protected |
Definition at line 51 of file ExportAccounts.php.
|
protected |
Definition at line 49 of file ExportAccounts.php.
|
protected |
Definition at line 50 of file ExportAccounts.php.
|
protected |
Definition at line 52 of file ExportAccounts.php.
|
protected |
Definition at line 14 of file ExportAccounts.php.
|
protected |
Definition at line 40 of file ExportAccounts.php.
|
protected |
Definition at line 34 of file ExportAccounts.php.
const ABORTORDER = "::ABORT::" |
Definition at line 47 of file ExportAccounts.php.
const XSDDIR = "XSD" |
Definition at line 48 of file ExportAccounts.php.