ILIAS
Release_4_4_x_branch Revision 61816
|
Description of class. More...
Public Member Functions | |
__construct (ilECSSetting $server, $mid, $tree_id) | |
Constructor. | |
getServer () | |
Get server. | |
getTree () | |
getDefaultSettings () | |
Get default settings. | |
getGlobalSettings () | |
get global settings | |
sync () | |
Synchronize tree. |
Protected Member Functions | |
checkTreeUpdates ($a_root_obj_id) | |
Start tree update check. | |
handleTreeUpdate ($a_parent_ref_id, $a_tnode_id) | |
Handle tree update (recursively) | |
syncNode ($tree_obj_id, $parent_id, $a_mapped=false) | |
Sync node. | |
syncCategory (ilECSNodeMappingAssignment $ass, $parent_id) | |
Sync category. |
Private Attributes | |
$server = null | |
$mid = null | |
$tree_id = null | |
$tree = null | |
$default_settings = array() | |
$global_settings = null |
Description of class.
Definition at line 15 of file class.ilECSCmsTreeSynchronizer.php.
ilECSCmsTreeSynchronizer::__construct | ( | ilECSSetting | $server, |
$mid, | |||
$tree_id | |||
) |
Constructor.
Definition at line 29 of file class.ilECSCmsTreeSynchronizer.php.
References $mid, $server, $tree_id, ilECSNodeMappingSettings\getInstanceByServerMid(), and getServer().
|
protected |
Start tree update check.
type | $a_root_obj_id |
Definition at line 113 of file class.ilECSCmsTreeSynchronizer.php.
References $GLOBALS, getServer(), and handleTreeUpdate().
Referenced by sync().
ilECSCmsTreeSynchronizer::getDefaultSettings | ( | ) |
Get default settings.
Definition at line 61 of file class.ilECSCmsTreeSynchronizer.php.
References $default_settings.
Referenced by sync().
ilECSCmsTreeSynchronizer::getGlobalSettings | ( | ) |
get global settings
Definition at line 70 of file class.ilECSCmsTreeSynchronizer.php.
References $global_settings.
Referenced by syncCategory().
ilECSCmsTreeSynchronizer::getServer | ( | ) |
Get server.
Definition at line 44 of file class.ilECSCmsTreeSynchronizer.php.
References $server.
Referenced by __construct(), checkTreeUpdates(), handleTreeUpdate(), sync(), syncCategory(), and syncNode().
ilECSCmsTreeSynchronizer::getTree | ( | ) |
Definition at line 52 of file class.ilECSCmsTreeSynchronizer.php.
References $tree.
Referenced by handleTreeUpdate(), and syncNode().
|
protected |
Handle tree update (recursively)
type | $a_parent_ref_id | |
type | $tnode_id |
Definition at line 141 of file class.ilECSCmsTreeSynchronizer.php.
References $GLOBALS, $mid, $tree, ilObject\_getAllReferences(), ilECSImport\_lookupObjId(), getServer(), and getTree().
Referenced by checkTreeUpdates().
ilECSCmsTreeSynchronizer::sync | ( | ) |
Synchronize tree.
Definition at line 80 of file class.ilECSCmsTreeSynchronizer.php.
References $GLOBALS, checkTreeUpdates(), getDefaultSettings(), getServer(), ilECSCmsTree\lookupRootId(), ilECSNodeMappingAssignments\lookupSettings(), and syncNode().
|
protected |
Sync category.
ilECSNodeMappingAssignment | $ass |
Definition at line 228 of file class.ilECSCmsTreeSynchronizer.php.
References $GLOBALS, $mid, $ref_id, ilObject\_getAllReferences(), ilECSImport\_lookupObjId(), ilECSNodeMappingAssignment\getCSId(), getGlobalSettings(), ilObjectFactory\getInstanceByRefId(), getServer(), and ilECSImport\setMID().
Referenced by syncNode().
|
protected |
Sync node.
type | $cs_id | |
type | $setting |
Definition at line 186 of file class.ilECSCmsTreeSynchronizer.php.
References getServer(), getTree(), and syncCategory().
Referenced by sync().
|
private |
Definition at line 22 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by getDefaultSettings().
|
private |
Definition at line 23 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by getGlobalSettings().
|
private |
Definition at line 18 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by __construct(), handleTreeUpdate(), and syncCategory().
|
private |
Definition at line 17 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by __construct(), and getServer().
|
private |
Definition at line 20 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by getTree(), and handleTreeUpdate().
|
private |
Definition at line 19 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by __construct().