| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Collaboration diagram for ilECSCmsTreeSynchronizer:Public Member Functions | |
| __construct (ilECSSetting $server, int $mid, int $tree_id) | |
| getServer () | |
| Get server.  More... | |
| getECSTree () | |
| getDefaultSettings () | |
| Get default settings.  More... | |
| getGlobalSettings () | |
| get global settings  More... | |
| sync () | |
| Synchronize tree.  More... | |
Protected Member Functions | |
| checkTreeUpdates (int $a_root_obj_id) | |
| Start tree update check.  More... | |
| handleTreeUpdate (int $a_parent_ref_id, int $a_tnode_id) | |
| Handle tree update (recursively)  More... | |
| syncNode ($tree_obj_id, $parent_id, $a_mapped=false) | |
| Sync node.  More... | |
| syncCategory (ilECSNodeMappingAssignment $ass, $parent_id) | |
| Sync category.  More... | |
Private Attributes | |
| ilLogger | $logger | 
| ilLanguage | $lng | 
| ilTree | $tree | 
| ilECSSetting | $server = null | 
| int | $mid | 
| int | $tree_id | 
| ilECSCmsTree | $ecs_tree = null | 
| array | $default_settings = array() | 
| ilECSNodeMappingSettings | $global_settings = null | 
Definition at line 25 of file class.ilECSCmsTreeSynchronizer.php.
| ilECSCmsTreeSynchronizer::__construct | ( | ilECSSetting | $server, | 
| int | $mid, | ||
| int | $tree_id | ||
| ) | 
Definition at line 39 of file class.ilECSCmsTreeSynchronizer.php.
References $DIC, $mid, $server, $tree_id, ilECSNodeMappingSettings\getInstanceByServerMid(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), and ILIAS\UI\examples\Progress\Bar\server().
 Here is the call graph for this function:
      
  | 
  protected | 
Start tree update check.
Definition at line 116 of file class.ilECSCmsTreeSynchronizer.php.
References $mid, $tree_id, ilECSNodeMappingAssignment\getRefId(), handleTreeUpdate(), ILIAS\Repository\logger(), and ILIAS\UI\examples\Progress\Bar\server().
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 72 of file class.ilECSCmsTreeSynchronizer.php.
References $default_settings.
Referenced by sync().
 Here is the caller graph for this function:| ilECSCmsTreeSynchronizer::getECSTree | ( | ) | 
Definition at line 64 of file class.ilECSCmsTreeSynchronizer.php.
References $ecs_tree.
| ilECSCmsTreeSynchronizer::getGlobalSettings | ( | ) | 
get global settings
Definition at line 80 of file class.ilECSCmsTreeSynchronizer.php.
References $global_settings.
| ilECSCmsTreeSynchronizer::getServer | ( | ) | 
Get server.
Definition at line 59 of file class.ilECSCmsTreeSynchronizer.php.
References $server.
      
  | 
  protected | 
Handle tree update (recursively)
Definition at line 139 of file class.ilECSCmsTreeSynchronizer.php.
References $mid, ilObject\_getAllReferences(), ilECSImportManager\getInstance(), ILIAS\Repository\int(), ILIAS\Repository\logger(), and ILIAS\UI\examples\Progress\Bar\server().
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 88 of file class.ilECSCmsTreeSynchronizer.php.
References $mid, $tree_id, checkTreeUpdates(), getDefaultSettings(), ILIAS\Repository\logger(), ilECSCmsTree\lookupRootId(), ilECSNodeMappingAssignments\lookupSettings(), ILIAS\UI\examples\Progress\Bar\server(), and syncNode().
 Here is the call graph for this function:
      
  | 
  protected | 
Sync category.
Definition at line 216 of file class.ilECSCmsTreeSynchronizer.php.
References $data, $mid, $ref_id, ilObject\_getAllReferences(), ilECSNodeMappingAssignment\getCSId(), ilECSImportManager\getInstance(), ilObjectFactory\getInstanceByRefId(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\UI\examples\Progress\Bar\server(), ilECSImport\setMID(), and SYSTEM_USER_ID.
Referenced by syncNode().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Sync node.
Definition at line 178 of file class.ilECSCmsTreeSynchronizer.php.
References $mid, $tree_id, ilECSNodeMappingAssignment\getRefId(), ILIAS\UI\examples\Progress\Bar\server(), 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 36 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by getDefaultSettings().
      
  | 
  private | 
Definition at line 34 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by getECSTree().
      
  | 
  private | 
Definition at line 37 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by getGlobalSettings().
      
  | 
  private | 
Definition at line 28 of file class.ilECSCmsTreeSynchronizer.php.
      
  | 
  private | 
Definition at line 27 of file class.ilECSCmsTreeSynchronizer.php.
      
  | 
  private | 
Definition at line 32 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by __construct(), checkTreeUpdates(), handleTreeUpdate(), sync(), syncCategory(), and syncNode().
      
  | 
  private | 
Definition at line 31 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by __construct(), and getServer().
      
  | 
  private | 
Definition at line 29 of file class.ilECSCmsTreeSynchronizer.php.
      
  | 
  private | 
Definition at line 33 of file class.ilECSCmsTreeSynchronizer.php.
Referenced by __construct(), checkTreeUpdates(), sync(), and syncNode().