◆ getDefaultAmountOfStepsPerRun()
ilFileObjectToStorageMigration::getDefaultAmountOfStepsPerRun |
( |
| ) |
|
◆ getLabel()
ilFileObjectToStorageMigration::getLabel |
( |
| ) |
|
◆ getPreconditions()
ilFileObjectToStorageMigration::getPreconditions |
( |
Environment |
$environment | ) |
|
◆ getRemainingAmountOfSteps()
ilFileObjectToStorageMigration::getRemainingAmountOfSteps |
( |
| ) |
|
@inheritDoc
Definition at line 143 of file class.ilFileObjectToStorageMigration.php.
143 : int
144 {
145 $r = $this->database->query("SELECT COUNT(file_id) AS amount FROM file_data WHERE rid IS NULL OR rid = '';");
146 $d = $this->database->fetchObject($r);
147
148 return (
int)
$d->amount;
149 }
for( $i=6;$i< 13;$i++) for($i=1; $i< 13; $i++) $d
References $d.
◆ step()
ilFileObjectToStorageMigration::step |
( |
Environment |
$environment | ) |
|
@inheritDoc
Definition at line 131 of file class.ilFileObjectToStorageMigration.php.
131 : void
132 {
133 if ($this->helper === null) {
134 return;
135 }
136 $item = $this->helper->getNext();
137 $this->runner->migrate($item);
138 }
◆ $database
ilFileObjectToStorageMigration::$database |
|
protected |
◆ $helper
ilFileObjectToStorageMigration::$helper |
|
private |
◆ $prepared
ilFileObjectToStorageMigration::$prepared = false |
|
protected |
◆ $runner
ilFileObjectToStorageMigration::$runner |
|
protected |
◆ FILE_PATH_REGEX
const ilFileObjectToStorageMigration::FILE_PATH_REGEX = '/.*\/file_([\d]*)$/' |
|
private |
◆ MIGRATION_LOG_CSV
const ilFileObjectToStorageMigration::MIGRATION_LOG_CSV = "migration_log.csv" |
The documentation for this class was generated from the following file: