◆ collectFrom()
  
  
      
        
          | ilSetupMetricsCollectedObjective::collectFrom  | 
          ( | 
          Setup\Environment  | 
          $environment,  | 
         
        
           | 
           | 
          Setup\Metrics\Storage  | 
          $storage  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
Definition at line 38 of file class.ilSetupMetricsCollectedObjective.php.
References $client_id, and $ini.
   40         $ini = $environment->getResource(
Setup\Environment::RESOURCE_ILIAS_INI);
    41         $client_ini = $environment->getResource(
Setup\Environment::RESOURCE_CLIENT_INI);
    42         $storage->storeStableBool(
    44             $ini !== null && $client_ini !== null,
    45             "Are there any indications an installation was performed?"    47         $client_id = $environment->getResource(
Setup\Environment::RESOURCE_CLIENT_ID);
    49             $storage->storeConfigText(
    52                 "Id of the ILIAS client."    55         $settings_factory  = $environment->getResource(
Setup\Environment::RESOURCE_SETTINGS_FACTORY);
    56         if ($settings_factory) {
    57             $common_settings = $settings_factory->settingsFor(
"common");
    58             $nic_enabled = $common_settings->get(
"nic_enabled") == 
"1";
    59             $storage->storeStableBool(
    62                 "Is the installation registered at the ILIAS NIC server?"    65                 $storage->storeConfigText(
    67                     $common_settings->get(
"inst_id"),
    68                     "The id of the installation as provided by the ILIAS NIC server." 
 
 
 
◆ getLabel()
      
        
          | ilSetupMetricsCollectedObjective::getLabel  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getTentativePreconditions()
  
  
      
        
          | ilSetupMetricsCollectedObjective::getTentativePreconditions  | 
          ( | 
          Setup\Environment  | 
          $environment | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: