◆ getDefaultAmountOfStepsPerRun()
      
        
          | PRGUpdateRestartedSourceMigration::getDefaultAmountOfStepsPerRun  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getLabel()
      
        
          | PRGUpdateRestartedSourceMigration::getLabel  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getPreconditions()
      
        
          | PRGUpdateRestartedSourceMigration::getPreconditions  | 
          ( | 
          Environment  | 
          $environment | ) | 
           | 
        
      
 
 
◆ getRemainingAmountOfSteps()
      
        
          | PRGUpdateRestartedSourceMigration::getRemainingAmountOfSteps  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 69 of file class.PRGUpdateRestartedSourceMigration.php.
References ilPRGAssignment\AUTO_ASSIGNED_BY_RESTART.
   71         $query = 
"SELECT count(restarted_assignment_id) AS cnt FROM prg_usr_assignments" . PHP_EOL
    72             . 
" WHERE restarted_assignment_id != -1" . PHP_EOL
    75         $result = $this->db->query($query);
    76         $row = $this->db->fetchAssoc($result);
    77         return (
int) $row[
'cnt'] > 0 ? 1 : 0;
 const AUTO_ASSIGNED_BY_RESTART
 
 
 
 
◆ prepare()
      
        
          | PRGUpdateRestartedSourceMigration::prepare  | 
          ( | 
          Environment  | 
          $environment | ) | 
           | 
        
      
 
 
◆ step()
      
        
          | PRGUpdateRestartedSourceMigration::step  | 
          ( | 
          Environment  | 
          $environment | ) | 
           | 
        
      
 
 
◆ $db
◆ $io
  
  
      
        
          | mixed PRGUpdateRestartedSourceMigration::$io | 
         
       
   | 
  
private   | 
  
 
 
◆ DEFAULT_AMOUNT_OF_STEPS
  
  
      
        
          | const PRGUpdateRestartedSourceMigration::DEFAULT_AMOUNT_OF_STEPS = 1 | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: