50 $db = $DIC->database();
53 $this->information_object = new \ilCertificateMigrationInformationObject(
64 'SELECT * FROM il_cert_bgtask_migr WHERE usr_id = %s',
88 return (
float) (100 / $this->information_object->getFoundItems() * $this->information_object->getProgressedItems());
105 $this->information_object->getLock() &&
119 $this->information_object->getFinishedTime() === 0 &&
120 $this->information_object->getStartingTime() !== 0 &&
121 strtotime(
'-1 hours') > $this->information_object->getStartingTime()
const CERT_MIGRATION_STATE_RUNNING
const CERT_MIGRATION_STATE_FAILED
const CERT_MIGRATION_STATE_FINISHED
Class ilCertificateMigration.
getTaskInformationObject()
getProgressedItemsAsPercent()
const CERT_MIGRATION_STATE_INIT
const CERT_MIGRATION_STATE_STOPPED
__construct(int $user_id, \ilDBInterface $db=null)
ilCertificateMigration constructor.