|
ILIAS
release_8 Revision v8.24
|
Cron job for definition for oer harvesting. More...
Collaboration diagram for ilOerHarvester:Public Member Functions | |
| __construct (ilCronJobResult $result) | |
| run () | |
Protected Member Functions | |
| collect () | |
| Collect all obj_ids with copyright settings which are collectable. More... | |
| filter (array $a_collectable_obj_ids) | |
| harvest (array $a_collectable_obj_ids) | |
| harvestObject (ilObject $object) | |
| deleteObject (int $a_ref_id) | |
| deleteDeprecated () | |
Protected Attributes | |
| ilTree | $tree |
Private Attributes | |
| ilLogger | $logger |
| ilCronJobResult | $cronresult |
| ilOerHarvesterSettings | $settings |
Cron job for definition for oer harvesting.
Definition at line 13 of file class.ilOerHarvester.php.
| ilOerHarvester::__construct | ( | ilCronJobResult | $result | ) |
Definition at line 23 of file class.ilOerHarvester.php.
References $DIC, ilOerHarvesterSettings\getInstance(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
Here is the call graph for this function:
|
protected |
Collect all obj_ids with copyright settings which are collectable.
Definition at line 64 of file class.ilOerHarvester.php.
References ilLogLevel\DEBUG, ILIAS\Repository\logger(), ilMDRights\lookupRightsByTypeAndCopyright(), and ILIAS\Repository\settings().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 175 of file class.ilOerHarvester.php.
References $ref_id, ilMDRights\_lookupDescription(), ilObject\_lookupObjId(), deleteObject(), ILIAS\Repository\logger(), ilOerHarvesterObjectStatus\lookupHarvested(), and ILIAS\Repository\settings().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 157 of file class.ilOerHarvester.php.
References ilObjectFactory\getInstanceByRefId(), ILIAS\Repository\logger(), and ilOerHarvesterObjectStatus\lookupObjIdByHarvestingId().
Referenced by deleteDeprecated().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| int[] | $a_collectable_obj_ids |
Definition at line 84 of file class.ilOerHarvester.php.
References $ref_id, ilObject\_getAllReferences(), ilLogLevel\DEBUG, and ILIAS\Repository\logger().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| int[] | $a_collectable_obj_ids |
Definition at line 120 of file class.ilOerHarvester.php.
References $ref_id, ilObject\_getAllReferences(), ilObjectFactory\getInstanceByRefId(), harvestObject(), and ILIAS\Repository\logger().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 139 of file class.ilOerHarvester.php.
References ilObject\createReference(), ilObject\getId(), ILIAS\Repository\logger(), ilObject\putInTree(), ilObject\setPermissions(), and ILIAS\Repository\settings().
Referenced by harvest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOerHarvester::run | ( | ) |
Definition at line 33 of file class.ilOerHarvester.php.
References $cronresult, Vendor\Package\$e, $message, collect(), deleteDeprecated(), filter(), harvest(), ilCronJobResult\setStatus(), ilCronJobResult\STATUS_FAIL, ilCronJobResult\STATUS_NO_ACTION, and ilCronJobResult\STATUS_OK.
Here is the call graph for this function:
|
private |
Definition at line 17 of file class.ilOerHarvester.php.
Referenced by run().
|
private |
Definition at line 15 of file class.ilOerHarvester.php.
|
private |
Definition at line 19 of file class.ilOerHarvester.php.
|
protected |
Definition at line 21 of file class.ilOerHarvester.php.