ILIAS
release_4-3 Revision
|
User Interface for NewsItem entities. More...
Public Member Functions | |
__construct () | |
Constructor. | |
getHTML () | |
Get html. | |
& | executeCommand () |
Execute command. | |
setEnableEdit ($a_enable_edit=0) | |
Set EnableEdit. | |
getEnableEdit () | |
Get EnableEdit. | |
setContextObjId ($a_context_obj_id) | |
Set ContextObjId. | |
getContextObjId () | |
Get ContextObjId. | |
setContextObjType ($a_context_obj_type) | |
Set ContextObjType. | |
getContextObjType () | |
Get ContextObjType. | |
setContextSubObjId ($a_context_sub_obj_id) | |
Set ContextSubObjId. | |
getContextSubObjId () | |
Get ContextSubObjId. | |
setContextSubObjType ($a_context_sub_obj_type) | |
Set ContextSubObjType. | |
getContextSubObjType () | |
Get ContextSubObjType. | |
setFormEditMode ($a_form_edit_mode) | |
Set FormEditMode. | |
getFormEditMode () | |
Get FormEditMode. | |
createNewsItem () | |
FORM NewsItem: Create NewsItem. | |
editNewsItem () | |
FORM NewsItem: Edit form. | |
initFormNewsItem ($a_mode) | |
FORM NewsItem: Init form. | |
getValuesNewsItem () | |
FORM NewsItem: Get current values for NewsItem form. | |
saveNewsItem () | |
FORM NewsItem: Save NewsItem. | |
exitSaveNewsItem () | |
updateNewsItem () | |
FORM NewsItem: Save NewsItem. | |
exitUpdateNewsItem () | |
cancelUpdateNewsItem () | |
FORM NewsItem: Save NewsItem. | |
cancelSaveNewsItem () | |
FORM NewsItem: Save NewsItem. | |
editNews () | |
Edit news. | |
cancelUpdate () | |
Cancel update. | |
confirmDeletionNewsItems () | |
Confirmation Screen. | |
deleteNewsItems () | |
Delete news items. | |
getNewsForContextBlock () | |
BLOCK NewsForContext: Get block HTML. | |
getNewsForContextTable () | |
TABLE NewsForContext: Get table HTML. | |
setTabs () | |
Set tabs. |
Protected Attributes | |
$enable_edit = 0 | |
$context_obj_id | |
$context_obj_type | |
$context_sub_obj_id | |
$context_sub_obj_type | |
$form_edit_mode |
User Interface for NewsItem entities.
Definition at line 20 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::__construct | ( | ) |
Constructor.
Definition at line 33 of file class.ilNewsItemGUI.php.
References $_GET, $ilCtrl, $lng, setContextObjId(), setContextObjType(), setContextSubObjId(), setContextSubObjType(), and setEnableEdit().
ilNewsItemGUI::cancelSaveNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Definition at line 455 of file class.ilNewsItemGUI.php.
References $_GET, $ilCtrl, and editNews().
ilNewsItemGUI::cancelUpdate | ( | ) |
Cancel update.
Definition at line 493 of file class.ilNewsItemGUI.php.
References editNews().
ilNewsItemGUI::cancelUpdateNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Definition at line 446 of file class.ilNewsItemGUI.php.
References editNews().
ilNewsItemGUI::confirmDeletionNewsItems | ( | ) |
Confirmation Screen.
Definition at line 501 of file class.ilNewsItemGUI.php.
References $_POST, $ilCtrl, $lng, editNews(), getEnableEdit(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilNewsItemGUI::createNewsItem | ( | ) |
FORM NewsItem: Create NewsItem.
Definition at line 222 of file class.ilNewsItemGUI.php.
References IL_FORM_CREATE, and initFormNewsItem().
ilNewsItemGUI::deleteNewsItems | ( | ) |
Delete news items.
Definition at line 542 of file class.ilNewsItemGUI.php.
References $_POST, editNews(), and getEnableEdit().
ilNewsItemGUI::editNews | ( | ) |
Edit news.
Definition at line 474 of file class.ilNewsItemGUI.php.
References $ilCtrl, $lng, getEnableEdit(), getNewsForContextTable(), and setTabs().
Referenced by cancelSaveNewsItem(), cancelUpdate(), cancelUpdateNewsItem(), confirmDeletionNewsItems(), and deleteNewsItems().
ilNewsItemGUI::editNewsItem | ( | ) |
FORM NewsItem: Edit form.
Definition at line 232 of file class.ilNewsItemGUI.php.
References getValuesNewsItem(), IL_FORM_EDIT, and initFormNewsItem().
& ilNewsItemGUI::executeCommand | ( | ) |
Execute command.
Definition at line 79 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::exitSaveNewsItem | ( | ) |
Definition at line 392 of file class.ilNewsItemGUI.php.
References $_GET, and $ilCtrl.
Referenced by saveNewsItem().
ilNewsItemGUI::exitUpdateNewsItem | ( | ) |
Definition at line 435 of file class.ilNewsItemGUI.php.
References $ilCtrl.
Referenced by updateNewsItem().
ilNewsItemGUI::getContextObjId | ( | ) |
Get ContextObjId.
Definition at line 133 of file class.ilNewsItemGUI.php.
References $context_obj_id.
Referenced by getNewsForContextBlock(), getNewsForContextTable(), and saveNewsItem().
ilNewsItemGUI::getContextObjType | ( | ) |
Get ContextObjType.
Definition at line 153 of file class.ilNewsItemGUI.php.
References $context_obj_type.
Referenced by getNewsForContextBlock(), getNewsForContextTable(), and saveNewsItem().
ilNewsItemGUI::getContextSubObjId | ( | ) |
Get ContextSubObjId.
Definition at line 173 of file class.ilNewsItemGUI.php.
References $context_sub_obj_id.
Referenced by getNewsForContextBlock(), getNewsForContextTable(), and saveNewsItem().
ilNewsItemGUI::getContextSubObjType | ( | ) |
Get ContextSubObjType.
Definition at line 193 of file class.ilNewsItemGUI.php.
References $context_sub_obj_type.
Referenced by getNewsForContextBlock(), getNewsForContextTable(), and saveNewsItem().
ilNewsItemGUI::getEnableEdit | ( | ) |
Get EnableEdit.
Definition at line 113 of file class.ilNewsItemGUI.php.
References $enable_edit.
Referenced by confirmDeletionNewsItems(), deleteNewsItems(), editNews(), getNewsForContextBlock(), saveNewsItem(), and updateNewsItem().
ilNewsItemGUI::getFormEditMode | ( | ) |
Get FormEditMode.
Definition at line 213 of file class.ilNewsItemGUI.php.
References $form_edit_mode.
ilNewsItemGUI::getHTML | ( | ) |
Get html.
Definition at line 66 of file class.ilNewsItemGUI.php.
References $ilCtrl, $lng, and getNewsForContextBlock().
ilNewsItemGUI::getNewsForContextBlock | ( | ) |
BLOCK NewsForContext: Get block HTML.
Definition at line 562 of file class.ilNewsItemGUI.php.
References $data, $lng, getContextObjId(), getContextObjType(), getContextSubObjId(), getContextSubObjType(), and getEnableEdit().
Referenced by getHTML().
ilNewsItemGUI::getNewsForContextTable | ( | ) |
TABLE NewsForContext: Get table HTML.
Definition at line 599 of file class.ilNewsItemGUI.php.
References $_GET, $data, $lng, getContextObjId(), getContextObjType(), getContextSubObjId(), and getContextSubObjType().
Referenced by editNews().
ilNewsItemGUI::getValuesNewsItem | ( | ) |
FORM NewsItem: Get current values for NewsItem form.
Definition at line 331 of file class.ilNewsItemGUI.php.
Referenced by editNewsItem().
ilNewsItemGUI::initFormNewsItem | ( | $a_mode | ) |
FORM NewsItem: Init form.
int | $a_mode | Form Edit Mode (IL_FORM_EDIT | IL_FORM_CREATE) |
Definition at line 246 of file class.ilNewsItemGUI.php.
References $_GET, $lng, ilNewsItem\_getDefaultVisibilityForRefId(), ilUtil\getImagePath(), IL_FORM_CREATE, IL_FORM_RE_CREATE, ilRadioOption\setInfo(), and ilFormPropertyGUI\setInfo().
Referenced by createNewsItem(), editNewsItem(), saveNewsItem(), and updateNewsItem().
ilNewsItemGUI::saveNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Definition at line 348 of file class.ilNewsItemGUI.php.
References $ilUser, exitSaveNewsItem(), getContextObjId(), getContextObjType(), getContextSubObjId(), getContextSubObjType(), getEnableEdit(), IL_FORM_CREATE, and initFormNewsItem().
ilNewsItemGUI::setContextObjId | ( | $a_context_obj_id | ) |
Set ContextObjId.
int | $a_context_obj_id |
Definition at line 123 of file class.ilNewsItemGUI.php.
Referenced by __construct().
ilNewsItemGUI::setContextObjType | ( | $a_context_obj_type | ) |
Set ContextObjType.
int | $a_context_obj_type |
Definition at line 143 of file class.ilNewsItemGUI.php.
Referenced by __construct().
ilNewsItemGUI::setContextSubObjId | ( | $a_context_sub_obj_id | ) |
Set ContextSubObjId.
int | $a_context_sub_obj_id |
Definition at line 163 of file class.ilNewsItemGUI.php.
Referenced by __construct().
ilNewsItemGUI::setContextSubObjType | ( | $a_context_sub_obj_type | ) |
Set ContextSubObjType.
int | $a_context_sub_obj_type |
Definition at line 183 of file class.ilNewsItemGUI.php.
Referenced by __construct().
ilNewsItemGUI::setEnableEdit | ( | $a_enable_edit = 0 | ) |
Set EnableEdit.
boolean | $a_enable_edit | Edit mode on/off |
Definition at line 103 of file class.ilNewsItemGUI.php.
Referenced by __construct().
ilNewsItemGUI::setFormEditMode | ( | $a_form_edit_mode | ) |
Set FormEditMode.
int | $a_form_edit_mode | Form Edit Mode (IL_FORM_EDIT | IL_FORM_CREATE | IL_FORM_RE_EDIT | IL_FORM_RE_CREATE) |
Definition at line 203 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::setTabs | ( | ) |
Set tabs.
@return |
Definition at line 653 of file class.ilNewsItemGUI.php.
Referenced by editNews().
ilNewsItemGUI::updateNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Definition at line 410 of file class.ilNewsItemGUI.php.
References exitUpdateNewsItem(), getEnableEdit(), IL_FORM_EDIT, and initFormNewsItem().
|
protected |
Definition at line 23 of file class.ilNewsItemGUI.php.
Referenced by getContextObjId().
|
protected |
Definition at line 24 of file class.ilNewsItemGUI.php.
Referenced by getContextObjType().
|
protected |
Definition at line 25 of file class.ilNewsItemGUI.php.
Referenced by getContextSubObjId().
|
protected |
Definition at line 26 of file class.ilNewsItemGUI.php.
Referenced by getContextSubObjType().
|
protected |
Definition at line 22 of file class.ilNewsItemGUI.php.
Referenced by getEnableEdit().
|
protected |
Definition at line 27 of file class.ilNewsItemGUI.php.
Referenced by getFormEditMode().