|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
User Interface for NewsItem entities. More...
Collaboration diagram for ilNewsItemGUI:Public Member Functions | |
| __construct () | |
| executeCommand () | |
| setEnableEdit (bool $a_enable_edit=false) | |
| getEnableEdit () | |
| setContextObjId (int $a_context_obj_id) | |
| getContextObjId () | |
| setContextObjType (string $a_context_obj_type) | |
| getContextObjType () | |
| setContextSubObjId (int $a_context_sub_obj_id) | |
| getContextSubObjId () | |
| setContextSubObjType (string $a_context_sub_obj_type) | |
| getContextSubObjType () | |
| createNewsItemCmd () | |
| editNewsItemCmd () | |
| getValuesNewsItem (ilPropertyFormGUI $a_form) | |
| saveNewsItemCmd () | |
| exitSaveNewsItemCmd () | |
| updateNewsItemCmd () | |
| exitUpdateNewsItemCmd () | |
| cancelUpdateNewsItemCmd () | |
| cancelSaveNewsItemCmd () | |
| editNewsCmd () | |
| cancelUpdate () | |
| confirmDeletionNewsItemsCmd () | |
| deleteNewsItemsCmd () | |
| setTabs () | |
Static Public Member Functions | |
| static | getEditForm (int $a_mode, int $a_ref_id) |
| static | isRteActivated () |
Data Fields | |
| const | FORM_EDIT = 0 |
| const | FORM_CREATE = 1 |
| const | FORM_RE_CREATE = 2 |
Protected Member Functions | |
| initFormNewsItem (int $a_mode) | |
Protected Attributes | |
| NewsAccess | $news_access |
| ilNewsItem | $news_item = null |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| ilTabsGUI | $tabs |
| ilObjUser | $user |
| ilToolbarGUI | $toolbar |
| Renderer | $renderer |
| Factory | $ui_factory |
| ilSetting | $setting |
| ServerRequestInterface | $http_request |
| ilUIFilterService | $filter_service |
| NewsCollectionService | $news_collection_service |
| DataFactory | $data_factory |
| HttpService | $http_service |
| bool | $enable_edit = false |
| int | $context_obj_id = 0 |
| string | $context_obj_type = '' |
| int | $context_sub_obj_id = 0 |
| string | $context_sub_obj_type = '' |
| int | $requested_ref_id |
| int | $requested_news_item_id |
| string | $add_mode |
| StandardGUIRequest | $std_request |
Private Attributes | |
| Refinery | $refinery |
| ilGlobalTemplateInterface | $main_tpl |
User Interface for NewsItem entities.
Definition at line 40 of file class.ilNewsItemGUI.php.
| ilNewsItemGUI::__construct | ( | ) |
Definition at line 74 of file class.ilNewsItemGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), renderer(), setContextObjId(), setContextObjType(), setEnableEdit(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilNewsItemGUI::cancelSaveNewsItemCmd | ( | ) |
Definition at line 440 of file class.ilNewsItemGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilNewsItemGUI::cancelUpdate | ( | ) |
Definition at line 490 of file class.ilNewsItemGUI.php.
| ilNewsItemGUI::cancelUpdateNewsItemCmd | ( | ) |
Definition at line 435 of file class.ilNewsItemGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilNewsItemGUI::confirmDeletionNewsItemsCmd | ( | ) |
Definition at line 495 of file class.ilNewsItemGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilNewsItemGUI::createNewsItemCmd | ( | ) |
Definition at line 204 of file class.ilNewsItemGUI.php.
References initFormNewsItem().
Here is the call graph for this function:| ilNewsItemGUI::deleteNewsItemsCmd | ( | ) |
Definition at line 528 of file class.ilNewsItemGUI.php.
References ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_FAILURE, and ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS.
Here is the call graph for this function:| ilNewsItemGUI::editNewsCmd | ( | ) |
Definition at line 450 of file class.ilNewsItemGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), renderer(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilNewsItemGUI::editNewsItemCmd | ( | ) |
Definition at line 209 of file class.ilNewsItemGUI.php.
References getValuesNewsItem(), and initFormNewsItem().
Here is the call graph for this function:| ilNewsItemGUI::executeCommand | ( | ) |
Definition at line 131 of file class.ilNewsItemGUI.php.
References ilNewsItem\_lookupContextObjId(), ILIAS\Repository\ctrl(), and ILIAS\Survey\Mode\getId().
Here is the call graph for this function:| ilNewsItemGUI::exitSaveNewsItemCmd | ( | ) |
Definition at line 365 of file class.ilNewsItemGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilNewsItemGUI::exitUpdateNewsItemCmd | ( | ) |
Definition at line 430 of file class.ilNewsItemGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilNewsItemGUI::getContextObjId | ( | ) |
Definition at line 169 of file class.ilNewsItemGUI.php.
References $context_obj_id.
| ilNewsItemGUI::getContextObjType | ( | ) |
Definition at line 179 of file class.ilNewsItemGUI.php.
References $context_obj_type.
| ilNewsItemGUI::getContextSubObjId | ( | ) |
Definition at line 189 of file class.ilNewsItemGUI.php.
References $context_sub_obj_id.
| ilNewsItemGUI::getContextSubObjType | ( | ) |
Definition at line 199 of file class.ilNewsItemGUI.php.
References $context_sub_obj_type.
|
static |
Definition at line 225 of file class.ilNewsItemGUI.php.
Referenced by ilNewsTimelineGUI\getEditModal(), initFormNewsItem(), ilNewsTimelineGUI\save(), and ilNewsTimelineGUI\update().
Here is the caller graph for this function:| ilNewsItemGUI::getEnableEdit | ( | ) |
Definition at line 159 of file class.ilNewsItemGUI.php.
References $enable_edit.
| ilNewsItemGUI::getValuesNewsItem | ( | ilPropertyFormGUI | $a_form | ) |
Definition at line 296 of file class.ilNewsItemGUI.php.
References ilObject\_lookupTitle(), ilPropertyFormGUI\getItemByPostVar(), and ilPropertyFormGUI\setValuesByArray().
Referenced by editNewsItemCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 216 of file class.ilNewsItemGUI.php.
References ILIAS\Repository\ctrl(), getEditForm(), and ILIAS\Repository\tabs().
Referenced by createNewsItemCmd(), and editNewsItemCmd().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 570 of file class.ilNewsItemGUI.php.
Referenced by ilNewsTimelineGUI\save(), and ilNewsTimelineGUI\update().
Here is the caller graph for this function:| ilNewsItemGUI::saveNewsItemCmd | ( | ) |
Definition at line 315 of file class.ilNewsItemGUI.php.
References ilObjMediaObject\_saveTempFileAsMediaObject(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, and ILIAS\Repository\user().
Here is the call graph for this function:| ilNewsItemGUI::setContextObjId | ( | int | $a_context_obj_id | ) |
Definition at line 164 of file class.ilNewsItemGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilNewsItemGUI::setContextObjType | ( | string | $a_context_obj_type | ) |
Definition at line 174 of file class.ilNewsItemGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilNewsItemGUI::setContextSubObjId | ( | int | $a_context_sub_obj_id | ) |
Definition at line 184 of file class.ilNewsItemGUI.php.
| ilNewsItemGUI::setContextSubObjType | ( | string | $a_context_sub_obj_type | ) |
Definition at line 194 of file class.ilNewsItemGUI.php.
| ilNewsItemGUI::setEnableEdit | ( | bool | $a_enable_edit = false | ) |
Definition at line 154 of file class.ilNewsItemGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilNewsItemGUI::setTabs | ( | ) |
Definition at line 561 of file class.ilNewsItemGUI.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilNewsItemGUI::updateNewsItemCmd | ( | ) |
Definition at line 374 of file class.ilNewsItemGUI.php.
References ilObject\_lookupType(), ilObjMediaObject\_saveTempFileAsMediaObject(), ILIAS\Repository\lng(), ILIAS\UICore\GlobalTemplate\MESSAGE_TYPE_SUCCESS, and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 70 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 64 of file class.ilNewsItemGUI.php.
Referenced by getContextObjId().
|
protected |
Definition at line 65 of file class.ilNewsItemGUI.php.
Referenced by getContextObjType().
|
protected |
Definition at line 66 of file class.ilNewsItemGUI.php.
Referenced by getContextSubObjId().
|
protected |
Definition at line 67 of file class.ilNewsItemGUI.php.
Referenced by getContextSubObjType().
|
protected |
Definition at line 48 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 60 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 63 of file class.ilNewsItemGUI.php.
Referenced by getEnableEdit().
|
protected |
Definition at line 58 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 57 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 61 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 49 of file class.ilNewsItemGUI.php.
|
private |
Definition at line 72 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 45 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 59 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 46 of file class.ilNewsItemGUI.php.
|
private |
Definition at line 55 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 53 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 69 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 68 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 56 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 71 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 50 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 52 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 54 of file class.ilNewsItemGUI.php.
|
protected |
Definition at line 51 of file class.ilNewsItemGUI.php.
| const ilNewsItemGUI::FORM_CREATE = 1 |
Definition at line 43 of file class.ilNewsItemGUI.php.
| const ilNewsItemGUI::FORM_EDIT = 0 |
Definition at line 42 of file class.ilNewsItemGUI.php.
Referenced by ilNewsTimelineGUI\getEditModal(), ilNewsTimelineGUI\save(), and ilNewsTimelineGUI\update().
| const ilNewsItemGUI::FORM_RE_CREATE = 2 |
Definition at line 44 of file class.ilNewsItemGUI.php.