|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilForumDraftHistory. More...
Collaboration diagram for ilForumDraftsHistory:Public Member Functions | |
| getHistoryId () | |
| setHistoryId (int $history_id) | |
| getDraftId () | |
| setDraftId (int $draft_id) | |
| getPostSubject () | |
| setPostSubject (string $post_subject) | |
| getPostMessage () | |
| setPostMessage (string $post_message) | |
| getDraftDate () | |
| setDraftDate (string $draft_date) | |
| __construct (int $history_id=0) | |
| delete () | |
| getFirstAutosaveByDraftId (int $draft_id) | |
| getLastAutosaveByDraftId (int $draft_id) | |
| addDraftToHistory () | |
| deleteMobs () | |
| rollbackAutosave () | |
| deleteHistoryByPostIds (array $post_ids=[]) | |
| deleteHistoryByDraftIds (array $draft_ids=[]) | |
Static Public Member Functions | |
| static | getInstancesByDraftId (int $draft_id) |
Data Fields | |
| const | MEDIAOBJECT_TYPE = 'frm~h:html' |
Static Protected Member Functions | |
| static | populateWithDatabaseRecord (ilForumDraftsHistory $history_draft, array $row) |
Protected Attributes | |
| string | $draft_date = '0000-00-00 00:00:00' |
Private Member Functions | |
| readByHistoryId (int $history_id) | |
Private Attributes | |
| ilDBInterface | $db |
| int | $history_id = 0 |
| int | $draft_id = 0 |
| string | $post_subject = '' |
| string | $post_message = '' |
Class ilForumDraftHistory.
Definition at line 25 of file class.ilForumDraftsHistory.php.
| ilForumDraftsHistory::__construct | ( | int | $history_id = 0 | ) |
Definition at line 86 of file class.ilForumDraftsHistory.php.
References $DIC, and readByHistoryId().
Here is the call graph for this function:| ilForumDraftsHistory::addDraftToHistory | ( | ) |
Definition at line 193 of file class.ilForumDraftsHistory.php.
References getDraftId(), getPostMessage(), getPostSubject(), and setHistoryId().
Here is the call graph for this function:| ilForumDraftsHistory::delete | ( | ) |
Definition at line 152 of file class.ilForumDraftsHistory.php.
References getHistoryId().
Here is the call graph for this function:| ilForumDraftsHistory::deleteHistoryByDraftIds | ( | array | $draft_ids = [] | ) |
| int[] | $draft_ids |
Definition at line 268 of file class.ilForumDraftsHistory.php.
References $res, deleteMobs(), and setHistoryId().
Referenced by deleteHistoryByPostIds(), and rollbackAutosave().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumDraftsHistory::deleteHistoryByPostIds | ( | array | $post_ids = [] | ) |
| int[] | $post_ids |
Definition at line 245 of file class.ilForumDraftsHistory.php.
References $res, deleteHistoryByDraftIds(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilForumDraftsHistory::deleteMobs | ( | ) |
Definition at line 209 of file class.ilForumDraftsHistory.php.
References ilObjMediaObject\_exists(), ilObjMediaObject\_getMobsOfObject(), ilObjMediaObject\_removeUsage(), and getHistoryId().
Referenced by deleteHistoryByDraftIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumDraftsHistory::getDraftDate | ( | ) |
| ilForumDraftsHistory::getDraftId | ( | ) |
Definition at line 46 of file class.ilForumDraftsHistory.php.
References $draft_id.
Referenced by addDraftToHistory(), and rollbackAutosave().
Here is the caller graph for this function:| ilForumDraftsHistory::getFirstAutosaveByDraftId | ( | int | $draft_id | ) |
Definition at line 161 of file class.ilForumDraftsHistory.php.
References $res, setDraftId(), setHistoryId(), setPostMessage(), and setPostSubject().
Here is the call graph for this function:| ilForumDraftsHistory::getHistoryId | ( | ) |
Definition at line 36 of file class.ilForumDraftsHistory.php.
References $history_id.
Referenced by delete(), deleteMobs(), and rollbackAutosave().
Here is the caller graph for this function:
|
static |
Definition at line 117 of file class.ilForumDraftsHistory.php.
References $DIC, $ilDB, and $res.
Referenced by ilObjForumGUI\doHistoryCheck().
Here is the caller graph for this function:| ilForumDraftsHistory::getLastAutosaveByDraftId | ( | int | $draft_id | ) |
Definition at line 177 of file class.ilForumDraftsHistory.php.
References $res, setDraftId(), setHistoryId(), setPostMessage(), and setPostSubject().
Here is the call graph for this function:| ilForumDraftsHistory::getPostMessage | ( | ) |
Definition at line 66 of file class.ilForumDraftsHistory.php.
References $post_message.
Referenced by addDraftToHistory(), and rollbackAutosave().
Here is the caller graph for this function:| ilForumDraftsHistory::getPostSubject | ( | ) |
Definition at line 56 of file class.ilForumDraftsHistory.php.
References $post_subject.
Referenced by addDraftToHistory(), and rollbackAutosave().
Here is the caller graph for this function:
|
staticprotected |
Definition at line 139 of file class.ilForumDraftsHistory.php.
References setDraftDate(), setDraftId(), setHistoryId(), setPostMessage(), and setPostSubject().
Here is the call graph for this function:
|
private |
Definition at line 97 of file class.ilForumDraftsHistory.php.
References $res, setDraftDate(), setDraftId(), setHistoryId(), setPostMessage(), and setPostSubject().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilForumDraftsHistory::rollbackAutosave | ( | ) |
Definition at line 221 of file class.ilForumDraftsHistory.php.
References deleteHistoryByDraftIds(), getDraftId(), getHistoryId(), getPostMessage(), getPostSubject(), ilForumPostDraft\MEDIAOBJECT_TYPE, ilForumUtil\moveMediaObjects(), and ilForumPostDraft\newInstanceByDraftId().
Here is the call graph for this function:| ilForumDraftsHistory::setDraftDate | ( | string | $draft_date | ) |
Definition at line 81 of file class.ilForumDraftsHistory.php.
References $draft_date.
Referenced by populateWithDatabaseRecord(), and readByHistoryId().
Here is the caller graph for this function:| ilForumDraftsHistory::setDraftId | ( | int | $draft_id | ) |
Definition at line 51 of file class.ilForumDraftsHistory.php.
References $draft_id.
Referenced by getFirstAutosaveByDraftId(), getLastAutosaveByDraftId(), populateWithDatabaseRecord(), and readByHistoryId().
Here is the caller graph for this function:| ilForumDraftsHistory::setHistoryId | ( | int | $history_id | ) |
Definition at line 41 of file class.ilForumDraftsHistory.php.
References $history_id.
Referenced by addDraftToHistory(), deleteHistoryByDraftIds(), getFirstAutosaveByDraftId(), getLastAutosaveByDraftId(), populateWithDatabaseRecord(), and readByHistoryId().
Here is the caller graph for this function:| ilForumDraftsHistory::setPostMessage | ( | string | $post_message | ) |
Definition at line 71 of file class.ilForumDraftsHistory.php.
References $post_message.
Referenced by getFirstAutosaveByDraftId(), getLastAutosaveByDraftId(), populateWithDatabaseRecord(), and readByHistoryId().
Here is the caller graph for this function:| ilForumDraftsHistory::setPostSubject | ( | string | $post_subject | ) |
Definition at line 61 of file class.ilForumDraftsHistory.php.
References $post_subject.
Referenced by getFirstAutosaveByDraftId(), getLastAutosaveByDraftId(), populateWithDatabaseRecord(), and readByHistoryId().
Here is the caller graph for this function:
|
private |
Definition at line 29 of file class.ilForumDraftsHistory.php.
|
protected |
Definition at line 34 of file class.ilForumDraftsHistory.php.
Referenced by getDraftDate(), and setDraftDate().
|
private |
Definition at line 31 of file class.ilForumDraftsHistory.php.
Referenced by getDraftId(), and setDraftId().
|
private |
Definition at line 30 of file class.ilForumDraftsHistory.php.
Referenced by getHistoryId(), and setHistoryId().
|
private |
Definition at line 33 of file class.ilForumDraftsHistory.php.
Referenced by getPostMessage(), and setPostMessage().
|
private |
Definition at line 32 of file class.ilForumDraftsHistory.php.
Referenced by getPostSubject(), and setPostSubject().
| const ilForumDraftsHistory::MEDIAOBJECT_TYPE = 'frm~h:html' |
Definition at line 27 of file class.ilForumDraftsHistory.php.
Referenced by ilObjForumGUI\cancelDraftObject(), ilForumPostDraft\createDraftBackup(), and ilForumAutoSaveAsyncDraftAction\executeAndGetResponseObject().