| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ilPollImagesMigration:
 Collaboration diagram for ilPollImagesMigration:Public Member Functions | |
| getLabel () | |
| getDefaultAmountOfStepsPerRun () | |
| Tell the default amount of steps to be executed for one run of the migration.  More... | |
| getPreconditions (Environment $environment) | |
| Objectives the migration depend on.  More... | |
| prepare (Environment $environment) | |
| Prepare the migration by means of some environment.  More... | |
| step (Environment $environment) | |
| Run one step of the migration.  More... | |
| getRemainingAmountOfSteps () | |
| Count up how many "things" need to be migrated.  More... | |
| getImageFullPath (string $img, int $id) | |
Protected Member Functions | |
| getThumbnailImagePath (string $img, int $id) | |
| getOrgImagePath (string $img, int $id) | |
| getLegacyPath (int $a_id) | |
Protected Attributes | |
| ilDBInterface | $db | 
Additional Inherited Members | |
  Data Fields inherited from ILIAS\Setup\Migration | |
| const | INFINITE = -1 | 
Definition at line 25 of file class.ilPollImagesMigration.php.
| ilPollImagesMigration::getDefaultAmountOfStepsPerRun | ( | ) | 
Tell the default amount of steps to be executed for one run of the migration.
Return Migration::INFINITE if all units should be migrated at once.
Implements ILIAS\Setup\Migration.
Definition at line 34 of file class.ilPollImagesMigration.php.
| ilPollImagesMigration::getImageFullPath | ( | string | $img, | 
| int | $id | ||
| ) | 
Definition at line 105 of file class.ilPollImagesMigration.php.
References getLegacyPath().
Referenced by step().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPollImagesMigration::getLabel | ( | ) | 
Implements ILIAS\Setup\Migration.
Definition at line 29 of file class.ilPollImagesMigration.php.
      
  | 
  protected | 
Definition at line 120 of file class.ilPollImagesMigration.php.
References $path, CLIENT_WEB_DIR, and ilFileSystemAbstractionStorage\createPathFromId().
Referenced by getImageFullPath(), getOrgImagePath(), and getThumbnailImagePath().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 115 of file class.ilPollImagesMigration.php.
References getLegacyPath().
Referenced by step().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPollImagesMigration::getPreconditions | ( | Environment | $environment | ) | 
Objectives the migration depend on.
| UnachievableException | if the objective is not achievable | 
Implements ILIAS\Setup\Migration.
Definition at line 39 of file class.ilPollImagesMigration.php.
| ilPollImagesMigration::getRemainingAmountOfSteps | ( | ) | 
Count up how many "things" need to be migrated.
This helps the admin to decide how big he can create the steps and also how long a migration takes
Implements ILIAS\Setup\Migration.
Definition at line 96 of file class.ilPollImagesMigration.php.
References $res.
      
  | 
  protected | 
Definition at line 110 of file class.ilPollImagesMigration.php.
References getLegacyPath().
Referenced by step().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilPollImagesMigration::prepare | ( | Environment | $environment | ) | 
Prepare the migration by means of some environment.
This is not supposed to modify the environment, but will be run to prime the migration object to run step and getRemainingAmountOfSteps afterwards. 
Implements ILIAS\Setup\Migration.
Definition at line 49 of file class.ilPollImagesMigration.php.
References ILIAS\Setup\Environment\getResource().
 Here is the call graph for this function:| ilPollImagesMigration::step | ( | Environment | $environment | ) | 
Run one step of the migration.
Implements ILIAS\Setup\Migration.
Definition at line 55 of file class.ilPollImagesMigration.php.
References $id, $res, getImageFullPath(), getOrgImagePath(), getThumbnailImagePath(), ILIAS\Repository\int(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 27 of file class.ilPollImagesMigration.php.