36        return "Migration of Bibliographies to the Resource Storage Service.";
 
   71        $r = $this->helper->getDatabase()->query(
"SELECT *  FROM il_bibl_data  
   72                    JOIN object_data ON object_data.obj_id = il_bibl_data.id 
   73                    WHERE rid IS NULL LIMIT 1");
 
   74        $d = $this->helper->getDatabase()->fetchObject($r);
 
   77        $identification = $this->helper->movePathToStorage($file_path, (
int) 
$d->owner);
 
   78        if ($identification === 
null) {
 
   79            $identification = 
'failed';
 
   81            $identification = $identification->serialize();
 
   84        $this->helper->getDatabase()->manipulateF(
 
   85            'UPDATE `il_bibl_data` SET `rid` = %s WHERE `id` = %s;',
 
   99        $r = $this->helper->getDatabase()->query(
"SELECT COUNT(*) AS amount FROM il_bibl_data WHERE rid IS NULL OR rid = ''");
 
  100        $d = $this->helper->getDatabase()->fetchObject($r);
 
  102        return (
int) 
$d->amount;
 
Class ResourceIdentification.
 
Class ilBibliographicStorageMigration.
 
step(Environment $environment)
@inheritDoc
 
prepare(Environment $environment)
@inheritDoc
 
getPreconditions(Environment $environment)
@inheritDoc
 
ilResourceStorageMigrationHelper $helper
 
getRemainingAmountOfSteps()
@inheritDoc
 
getDefaultAmountOfStepsPerRun()
@inheritDoc
 
Class ilObjBibliographicStakeholder.
 
Class ilResourceStorageMigrationHelper.
 
static getPreconditions()
 
for( $i=6;$i< 13;$i++) for($i=1; $i< 13; $i++) $d
 
An environment holds resources to be used in the setup process.
 
A migration is a potentially long lasting operation that can be broken into discrete steps.
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...