|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Cron job for definition for oer harvesting. More...
Collaboration diagram for ilOerHarvester:Public Member Functions | |
| __construct (ilCronJobResult $result) | |
| ilOerHarvester constructor. More... | |
| run () | |
| run harvester More... | |
Protected Member Functions | |
| collect () | |
| Collect all obj_ids with copyright settings which are collectable. More... | |
| filter ($a_collectable_obj_ids) | |
| harvest ($a_collectable_obj_ids) | |
| harvestObject (ilObject $object) | |
| Harvest object. More... | |
| deleteObject ($a_ref_id) | |
| Delete object. More... | |
| deleteDeprecated () | |
| Delete deprecated. More... | |
Private Attributes | |
| $logger = null | |
| $cronresult = null | |
| $settings = null | |
Cron job for definition for oer harvesting.
Definition at line 11 of file class.ilOerHarvester.php.
| ilOerHarvester::__construct | ( | ilCronJobResult | $result | ) |
ilOerHarvester constructor.
| \ilCronJobResult | $result |
Definition at line 33 of file class.ilOerHarvester.php.
References $DIC, $result, ilOerHarvesterSettings\getInstance(), and settings().
Here is the call graph for this function:
|
protected |
Collect all obj_ids with copyright settings which are collectable.
Definition at line 77 of file class.ilOerHarvester.php.
References ilLogLevel\DEBUG, ilMDRights\lookupRightsByTypeAndCopyright(), and settings().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Delete deprecated.
Definition at line 202 of file class.ilOerHarvester.php.
References ilMDRights\_lookupDescription(), ilObject\_lookupObjId(), deleteObject(), ilOerHarvesterObjectStatus\lookupHarvested(), and settings().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Delete object.
Definition at line 181 of file class.ilOerHarvester.php.
References ilObjectFactory\getInstanceByRefId(), 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 96 of file class.ilOerHarvester.php.
References $DIC, $tree, ilObject\_getAllReferences(), and ilLogLevel\DEBUG.
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 137 of file class.ilOerHarvester.php.
References ilObject\_getAllReferences(), ilObjectFactory\getInstanceByRefId(), and harvestObject().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Harvest object.
| $ref_id |
Definition at line 160 of file class.ilOerHarvester.php.
References ilObject\createReference(), ilObject\getId(), ilObject\putInTree(), ilObject\setPermissions(), and settings().
Referenced by harvest().
Here is the call graph for this function:
Here is the caller graph for this function:| ilOerHarvester::run | ( | ) |
run harvester
Definition at line 46 of file class.ilOerHarvester.php.
References $cronresult, $message, collect(), deleteDeprecated(), filter(), harvest(), ilCronJobResult\STATUS_FAIL, ilCronJobResult\STATUS_NO_ACTION, and ilCronJobResult\STATUS_OK.
Here is the call graph for this function:
|
private |
Definition at line 21 of file class.ilOerHarvester.php.
Referenced by run().
|
private |
Definition at line 16 of file class.ilOerHarvester.php.
|
private |
Definition at line 27 of file class.ilOerHarvester.php.