|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilHistory:Static Public Member Functions | |
| static | _createEntry (int $a_obj_id, string $a_action, array $a_info_params=[], string $a_obj_type="", string $a_user_comment="", bool $a_update_last=false) |
| Creates a new history entry for an object. More... | |
| static | _getEntriesForObject (int $a_obj_id, string $a_obj_type="") |
| get all history entries for an object More... | |
| static | _compareHistArray (array $a, array $b) |
| static | _removeEntriesForObject (int $a_obj_id) |
| remove all history entries for an object More... | |
| static | _copyEntriesForObject (int $a_src_id, int $a_dst_id) |
| copy all history entries for an object More... | |
| static | _getEntryByHistoryID (int $a_hist_entry_id) |
| returns a single history entry More... | |
| static | _removeEntryByHistoryID (int $a_hist_entry_id) |
| Removes a single entry from the history. More... | |
| static | _changeUserId (int $a_hist_entry_id, int $new_user_id) |
| Changes the user id of the specified history entry. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning This class methods for maintain history enties for objects
Definition at line 24 of file class.ilHistory.php.
|
static |
Changes the user id of the specified history entry.
Definition at line 250 of file class.ilHistory.php.
|
static |
Definition at line 167 of file class.ilHistory.php.
Referenced by HistCompareTest\testCompare(), HistCompareTest\testCompare2(), and HistCompareTest\testCompare3().
Here is the caller graph for this function:
|
static |
copy all history entries for an object
Definition at line 192 of file class.ilHistory.php.
References $DIC, $id, $ilDB, $q, $r, and ilUtil\now().
Here is the call graph for this function:
|
static |
Creates a new history entry for an object.
The information text parameters have to be separated by comma. The information text has to be stored in a langage variable "hist_<object_type>_<action>". This text can contain placeholders %1, %2, ... for each parameter. The placehoders are replaced by the parameters in ilHistoryTableGUI.
Please note that the object type must be specified, if the object is not derived from ilObject.
| int | $a_obj_id | object id |
| string | $a_action | |
| array | $a_info_params | information parameters |
| string | $a_obj_type | object type (must only be set, if object is not in object_data table) |
| string | $a_user_comment | |
| bool | $a_update_last |
Definition at line 42 of file class.ilHistory.php.
References $DIC, $id, $ilDB, ILIAS\LTI\ToolProvider\$key, $param, ilObject\_lookupType(), and ilUtil\now().
Referenced by ilPageEditorGUI\addChangeComment(), ilObjContentObjectGUI\confirmedDelete(), ilLMObject\create(), ilWebLinkDatabaseRepository\createItem(), ilWebLinkDatabaseRepository\createList(), ilWebLinkDatabaseRepository\deleteItemByLinkID(), ilWebLinkDatabaseRepository\deleteList(), ilObjContentObject\executeDragDrop(), ilLMPageObjectGUI\updateHistory(), ilWebLinkDatabaseRepository\updateItem(), and ilWebLinkDatabaseRepository\updateList().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
get all history entries for an object
| int | $a_obj_id | |
| string | $a_obj_type |
Definition at line 111 of file class.ilHistory.php.
References $DIC, $ilDB, and ilObject\_lookupType().
Referenced by ilECSFileSettings\buildJson(), and ilHistoryTableGUI\getDataFromDb().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
remove all history entries for an object
Definition at line 178 of file class.ilHistory.php.
References $DIC, $ilDB, and $q.
Referenced by ilObjBibliographic\doDelete(), ilObjFile\doDelete(), ilObjCmiXapi\doDelete(), and ilFileXMLParser\setFileContents().
Here is the caller graph for this function:
|
static |
Removes a single entry from the history.
Definition at line 236 of file class.ilHistory.php.
References $DIC, $ilDB, and $q.