|
ILIAS
Release_5_0_x_branch Revision 61816
|
Description of class. More...
Collaboration diagram for ilECSCmsTreeSynchronizer: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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSCmsTreeSynchronizer::getDefaultSettings | ( | ) |
Get default settings.
Definition at line 61 of file class.ilECSCmsTreeSynchronizer.php.
References $default_settings.
Referenced by sync().
Here is the caller graph for this function:| ilECSCmsTreeSynchronizer::getGlobalSettings | ( | ) |
get global settings
Definition at line 70 of file class.ilECSCmsTreeSynchronizer.php.
References $global_settings.
Referenced by syncCategory().
Here is the caller graph for this function:| ilECSCmsTreeSynchronizer::getServer | ( | ) |
Get server.
Definition at line 44 of file class.ilECSCmsTreeSynchronizer.php.
References $server.
Referenced by __construct(), checkTreeUpdates(), handleTreeUpdate(), sync(), syncCategory(), and syncNode().
Here is the caller graph for this function:| ilECSCmsTreeSynchronizer::getTree | ( | ) |
Definition at line 52 of file class.ilECSCmsTreeSynchronizer.php.
References $tree.
Referenced by handleTreeUpdate(), and syncNode().
Here is the caller graph for this function:
|
protected |
Handle tree update (recursively)
| type | $a_parent_ref_id | |
| type | $tnode_id |
Definition at line 141 of file class.ilECSCmsTreeSynchronizer.php.
References $GLOBALS, $tree, ilObject\_getAllReferences(), getServer(), getTree(), and ilECSImport\lookupObjIdByContentId().
Referenced by checkTreeUpdates().
Here is the call graph for this function:
Here is the caller graph for this function:| ilECSCmsTreeSynchronizer::sync | ( | ) |
Synchronize tree.
Definition at line 80 of file class.ilECSCmsTreeSynchronizer.php.
References $GLOBALS, checkTreeUpdates(), getDefaultSettings(), getServer(), ilECSCmsTree\lookupRootId(), ilECSNodeMappingAssignments\lookupSettings(), and syncNode().
Here is the call graph for this function:
|
protected |
Sync category.
| ilECSNodeMappingAssignment | $ass |
Definition at line 228 of file class.ilECSCmsTreeSynchronizer.php.
References $GLOBALS, $ref_id, ilObject\_getAllReferences(), ilECSNodeMappingAssignment\getCSId(), getGlobalSettings(), ilObjectFactory\getInstanceByRefId(), getServer(), ilECSImport\lookupObjIdByContentId(), and ilECSImport\setMID().
Referenced by syncNode().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
|
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().