| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
Repository for component data implemented over artifacts. More...
 Inheritance diagram for ilArtifactComponentRepository:
 Collaboration diagram for ilArtifactComponentRepository:Public Member Functions | |
| __construct (Data\Factory $data_factory, ilPluginStateDB $plugin_state_db, Data\Version $ilias_version) | |
| hasComponent (string $type, string $name) | |
| hasComponentId (string $id) | |
| getComponents () | |
| getComponentById (string $id) | |
| getComponentByTypeAndName (string $type, string $name) | |
| hasPluginSlotId (string $id) | |
| getPluginSlots () | |
| getPluginSlotById (string $id) | |
| hasPluginId (string $id) | |
| Check if a plugin exists.  More... | |
| getPlugins () | |
| Get all plugins.  More... | |
| getPluginById (string $id) | |
| Get a plugin by id.  More... | |
| getPluginByName (string $name) | |
| Get a plugin by name.  More... | |
| setCurrentPluginVersion (string $plugin_id, Data\Version $version, int $db_version) | |
| setActivation (string $plugin_id, bool $activated) | |
| removeStateInformationOf (string $plugin_id) | |
| hasActivatedPlugin (string $id) | |
| Check if a plugin exists and is activated.  More... | |
  Public Member Functions inherited from ilComponentRepositoryWrite | |
| setCurrentPluginVersion (string $plugin_id, Version $version, int $db_version) | |
Data Fields | |
| const | COMPONENT_DATA_PATH = "Services/Component/artifacts/component_data.php" | 
| const | PLUGIN_DATA_PATH = "Services/Component/artifacts/plugin_data.php" | 
  Data Fields inherited from ilComponentRepository | |
| const | PLUGIN_BASE_PATH = "Customizing/global/plugins" | 
Protected Member Functions | |
| buildDatabase () | |
| readComponentData () | |
| readPluginData () | |
Protected Attributes | |
| Data Factory | $data_factory | 
| ilPluginStateDB | $plugin_state_db | 
| Data Version | $ilias_version | 
| array | $components | 
| array | $component_id_by_type_and_name | 
| array | $pluginslot_by_id | 
| array | $plugin_by_id | 
| array | $plugin_by_name | 
Repository for component data implemented over artifacts.
Definition at line 27 of file class.ilArtifactComponentRepository.php.
| ilArtifactComponentRepository::__construct | ( | Data\Factory | $data_factory, | 
| ilPluginStateDB | $plugin_state_db, | ||
| Data\Version | $ilias_version | ||
| ) | 
Definition at line 42 of file class.ilArtifactComponentRepository.php.
References $data_factory, $ilias_version, $plugin_state_db, and buildDatabase().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 51 of file class.ilArtifactComponentRepository.php.
References $data, $ilias_max_version, $ilias_min_version, $learning_progress, $responsible, $responsible_mail, $supports_export, getComponentByTypeAndName(), hasComponent(), readComponentData(), and readPluginData().
Referenced by __construct(), removeStateInformationOf(), setActivation(), and setCurrentPluginVersion().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilArtifactComponentRepository::getComponentById | ( | string | $id | ) | 
Implements ilComponentRepository.
Definition at line 178 of file class.ilArtifactComponentRepository.php.
References $id, and hasComponentId().
 Here is the call graph for this function:| ilArtifactComponentRepository::getComponentByTypeAndName | ( | string | $type, | 
| string | $name | ||
| ) | 
Implements ilComponentRepository.
Definition at line 191 of file class.ilArtifactComponentRepository.php.
References hasComponent().
Referenced by buildDatabase().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilArtifactComponentRepository::getComponents | ( | ) | 
Implements ilComponentRepository.
Definition at line 168 of file class.ilArtifactComponentRepository.php.
References $id.
| ilArtifactComponentRepository::getPluginById | ( | string | $id | ) | 
Get a plugin by id.
Implements ilComponentRepository.
Definition at line 260 of file class.ilArtifactComponentRepository.php.
References $id, and hasPluginId().
Referenced by hasActivatedPlugin(), setCurrentPluginVersion(), and ilArtifactComponentRepositoryTest\testUsesPluginStateDB().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilArtifactComponentRepository::getPluginByName | ( | string | $name | ) | 
Get a plugin by name.
Implements ilComponentRepository.
Definition at line 275 of file class.ilArtifactComponentRepository.php.
References XapiProxy\$plugin, and getPlugins().
 Here is the call graph for this function:| ilArtifactComponentRepository::getPlugins | ( | ) | 
Get all plugins.
Keys are the ids.
Implements ilComponentRepository.
Definition at line 248 of file class.ilArtifactComponentRepository.php.
References $id, and XapiProxy\$plugin.
Referenced by getPluginByName().
 Here is the caller graph for this function:| ilArtifactComponentRepository::getPluginSlotById | ( | string | $id | ) | 
Implements ilComponentRepository.
Definition at line 223 of file class.ilArtifactComponentRepository.php.
References $id, and hasPluginSlotId().
 Here is the call graph for this function:| ilArtifactComponentRepository::getPluginSlots | ( | ) | 
Implements ilComponentRepository.
Definition at line 213 of file class.ilArtifactComponentRepository.php.
References $id.
Referenced by ilArtifactComponentRepositoryTest\testNoPluginSlot().
 Here is the caller graph for this function:| ilArtifactComponentRepository::hasActivatedPlugin | ( | string | $id | ) | 
Check if a plugin exists and is activated.
Implements ilComponentRepository.
Definition at line 326 of file class.ilArtifactComponentRepository.php.
References getPluginById(), and hasPluginId().
 Here is the call graph for this function:| ilArtifactComponentRepository::hasComponent | ( | string | $type, | 
| string | $name | ||
| ) | 
Implements ilComponentRepository.
Definition at line 146 of file class.ilArtifactComponentRepository.php.
References ilComponentInfo\TYPES.
Referenced by buildDatabase(), and getComponentByTypeAndName().
 Here is the caller graph for this function:| ilArtifactComponentRepository::hasComponentId | ( | string | $id | ) | 
Implements ilComponentRepository.
Definition at line 160 of file class.ilArtifactComponentRepository.php.
Referenced by getComponentById().
 Here is the caller graph for this function:| ilArtifactComponentRepository::hasPluginId | ( | string | $id | ) | 
Check if a plugin exists.
Implements ilComponentRepository.
Definition at line 236 of file class.ilArtifactComponentRepository.php.
Referenced by getPluginById(), hasActivatedPlugin(), removeStateInformationOf(), and setActivation().
 Here is the caller graph for this function:| ilArtifactComponentRepository::hasPluginSlotId | ( | string | $id | ) | 
Implements ilComponentRepository.
Definition at line 205 of file class.ilArtifactComponentRepository.php.
Referenced by getPluginSlotById().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 133 of file class.ilArtifactComponentRepository.php.
Referenced by buildDatabase().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 138 of file class.ilArtifactComponentRepository.php.
Referenced by buildDatabase().
 Here is the caller graph for this function:| ilArtifactComponentRepository::removeStateInformationOf | ( | string | $plugin_id | ) | 
Implements ilComponentRepositoryWrite.
Definition at line 315 of file class.ilArtifactComponentRepository.php.
References buildDatabase(), and hasPluginId().
Referenced by ilArtifactComponentRepositoryTest\testRemoveStateInformationOfCallsStateDB(), and ilArtifactComponentRepositoryTest\testRemoveStateInformationOfTriggersRebuild().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilArtifactComponentRepository::setActivation | ( | string | $plugin_id, | 
| bool | $activated | ||
| ) | 
Implements ilComponentRepositoryWrite.
Definition at line 304 of file class.ilArtifactComponentRepository.php.
References buildDatabase(), and hasPluginId().
Referenced by ilArtifactComponentRepositoryTest\testSetActivationCallsStateDB(), and ilArtifactComponentRepositoryTest\testSetActivationTriggersRebuild().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilArtifactComponentRepository::setCurrentPluginVersion | ( | string | $plugin_id, | 
| Data\Version | $version, | ||
| int | $db_version | ||
| ) | 
Definition at line 287 of file class.ilArtifactComponentRepository.php.
References XapiProxy\$plugin, buildDatabase(), and getPluginById().
Referenced by ilArtifactComponentRepositoryTest\testSetCurrentPluginVersionCallsStateDB(), and ilArtifactComponentRepositoryTest\testSetCurrentPluginVersionCallsStateDBTriggersRebuild().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 37 of file class.ilArtifactComponentRepository.php.
      
  | 
  protected | 
Definition at line 36 of file class.ilArtifactComponentRepository.php.
      
  | 
  protected | 
Definition at line 32 of file class.ilArtifactComponentRepository.php.
Referenced by __construct().
      
  | 
  protected | 
Definition at line 34 of file class.ilArtifactComponentRepository.php.
Referenced by __construct().
      
  | 
  protected | 
Definition at line 39 of file class.ilArtifactComponentRepository.php.
      
  | 
  protected | 
Definition at line 40 of file class.ilArtifactComponentRepository.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilArtifactComponentRepository.php.
Referenced by __construct().
      
  | 
  protected | 
Definition at line 38 of file class.ilArtifactComponentRepository.php.
| const ilArtifactComponentRepository::COMPONENT_DATA_PATH = "Services/Component/artifacts/component_data.php" | 
Definition at line 29 of file class.ilArtifactComponentRepository.php.
| const ilArtifactComponentRepository::PLUGIN_DATA_PATH = "Services/Component/artifacts/plugin_data.php" | 
Definition at line 30 of file class.ilArtifactComponentRepository.php.