ILIAS
Release_4_0_x_branch Revision 61816
|
User Interface for NewsItem entities. More...
Public Member Functions | |
__construct () | |
Constructor. | |
getHTML () | |
prepareBlockNewsForContext (&$a_block_gui) | |
BLOCK NewsForContext: Prepare block. | |
prepareBlockQueryNewsForContext (&$a_news_item) | |
BLOCK NewsForContext: Prepare block query for news block. | |
prepareSaveNewsItem (&$a_news_item) | |
FORM NewsItem: Prepare saving. | |
prepareFormNewsItem (&$a_form_gui) | |
FORM NewsItem: Prepare form. | |
saveNewsItem () | |
FORM NewsItem: Save NewsItem. | |
exitSaveNewsItem () | |
FORM NewsItem: Exit save. | |
updateNewsItem () | |
FORM NewsItem: Save NewsItem. | |
exitUpdateNewsItem () | |
FORM NewsItem: Exit update. | |
cancelUpdateNewsItem () | |
FORM NewsItem: Save NewsItem. | |
cancelSaveNewsItem () | |
FORM NewsItem: Save NewsItem. | |
editNews () | |
cancelUpdate () | |
prepareTableNewsForContext (&$a_table_gui) | |
TABLE MewsForContext: Prepare the new table. | |
confirmDeletionNewsItems () | |
Confirmation Screen. | |
deleteNewsItems () | |
Delete news items. | |
Public Member Functions inherited from ilNewsItemGUIGen | |
& | 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. | |
getNewsForContextBlock () | |
BLOCK NewsForContext: Get block HTML. | |
getNewsForContextTable () | |
TABLE NewsForContext: Get table HTML. | |
prepareTableQueryNewsForContext (&$a_news_item) | |
TABLE NewsForContext: Prepare query for getting data for list table. |
Additional Inherited Members | |
Protected Attributes inherited from ilNewsItemGUIGen | |
$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 14 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::__construct | ( | ) |
Constructor.
Reimplemented from ilNewsItemGUIGen.
Definition at line 17 of file class.ilNewsItemGUI.php.
References $ilCtrl.
ilNewsItemGUI::cancelSaveNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Reimplemented from ilNewsItemGUIGen.
Definition at line 160 of file class.ilNewsItemGUI.php.
References $_GET, $ilCtrl, and editNews().
ilNewsItemGUI::cancelUpdate | ( | ) |
Definition at line 184 of file class.ilNewsItemGUI.php.
References editNews().
ilNewsItemGUI::cancelUpdateNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Reimplemented from ilNewsItemGUIGen.
Definition at line 151 of file class.ilNewsItemGUI.php.
References editNews().
ilNewsItemGUI::confirmDeletionNewsItems | ( | ) |
Confirmation Screen.
Definition at line 207 of file class.ilNewsItemGUI.php.
References $_POST, $ilCtrl, $lng, editNews(), ilNewsItemGUIGen\getEnableEdit(), ilUtil\getImagePath(), and ilUtil\sendFailure().
ilNewsItemGUI::deleteNewsItems | ( | ) |
Delete news items.
Definition at line 246 of file class.ilNewsItemGUI.php.
References $_POST, editNews(), and ilNewsItemGUIGen\getEnableEdit().
ilNewsItemGUI::editNews | ( | ) |
Definition at line 174 of file class.ilNewsItemGUI.php.
References ilNewsItemGUIGen\getEnableEdit(), and ilNewsItemGUIGen\getNewsForContextTable().
Referenced by cancelSaveNewsItem(), cancelUpdate(), cancelUpdateNewsItem(), confirmDeletionNewsItems(), and deleteNewsItems().
ilNewsItemGUI::exitSaveNewsItem | ( | ) |
FORM NewsItem: Exit save.
(Can be overwritten in derived classes)
Reimplemented from ilNewsItemGUIGen.
Definition at line 112 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::exitUpdateNewsItem | ( | ) |
FORM NewsItem: Exit update.
(Can be overwritten in derived classes)
Reimplemented from ilNewsItemGUIGen.
Definition at line 140 of file class.ilNewsItemGUI.php.
References $ilCtrl.
ilNewsItemGUI::getHTML | ( | ) |
Definition at line 26 of file class.ilNewsItemGUI.php.
References $ilCtrl, $lng, and ilNewsItemGUIGen\getNewsForContextBlock().
ilNewsItemGUI::prepareBlockNewsForContext | ( | & | $a_block_gui | ) |
BLOCK NewsForContext: Prepare block.
(Can be overwritten in derived classes)
object | $a_block_gui | ilBlockGUI instance. |
Reimplemented from ilNewsItemGUIGen.
Definition at line 40 of file class.ilNewsItemGUI.php.
References ilNewsItemGUIGen\getEnableEdit().
ilNewsItemGUI::prepareBlockQueryNewsForContext | ( | & | $a_news_item | ) |
BLOCK NewsForContext: Prepare block query for news block.
Reimplemented from ilNewsItemGUIGen.
Definition at line 50 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::prepareFormNewsItem | ( | & | $a_form_gui | ) |
FORM NewsItem: Prepare form.
object | $a_form_gui | ilPropertyFormGUI instance. |
Reimplemented from ilNewsItemGUIGen.
Definition at line 79 of file class.ilNewsItemGUI.php.
References $_GET, ilNewsItem\_getDefaultVisibilityForRefId(), and ilUtil\getImagePath().
ilNewsItemGUI::prepareSaveNewsItem | ( | & | $a_news_item | ) |
FORM NewsItem: Prepare saving.
Reimplemented from ilNewsItemGUIGen.
Definition at line 59 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::prepareTableNewsForContext | ( | & | $a_table_gui | ) |
TABLE MewsForContext: Prepare the new table.
Reimplemented from ilNewsItemGUIGen.
Definition at line 192 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::saveNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Reimplemented from ilNewsItemGUIGen.
Definition at line 102 of file class.ilNewsItemGUI.php.
References ilNewsItemGUIGen\getEnableEdit().
ilNewsItemGUI::updateNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Reimplemented from ilNewsItemGUIGen.
Definition at line 130 of file class.ilNewsItemGUI.php.
References ilNewsItemGUIGen\getEnableEdit().