ILIAS
Release_3_10_x_branch Revision 61812
|
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 34 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::__construct | ( | ) |
Constructor.
Reimplemented from ilNewsItemGUIGen.
Definition at line 37 of file class.ilNewsItemGUI.php.
References $ilCtrl.
ilNewsItemGUI::cancelSaveNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Reimplemented from ilNewsItemGUIGen.
Definition at line 180 of file class.ilNewsItemGUI.php.
References $_GET, $ilCtrl, and editNews().
ilNewsItemGUI::cancelUpdate | ( | ) |
Definition at line 204 of file class.ilNewsItemGUI.php.
References editNews().
ilNewsItemGUI::cancelUpdateNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Reimplemented from ilNewsItemGUIGen.
Definition at line 171 of file class.ilNewsItemGUI.php.
References editNews().
ilNewsItemGUI::confirmDeletionNewsItems | ( | ) |
Confirmation Screen.
Definition at line 227 of file class.ilNewsItemGUI.php.
References $ilCtrl, $lng, editNews(), ilNewsItemGUIGen\getEnableEdit(), ilUtil\getImagePath(), and ilUtil\sendInfo().
ilNewsItemGUI::deleteNewsItems | ( | ) |
Delete news items.
Definition at line 266 of file class.ilNewsItemGUI.php.
References editNews(), and ilNewsItemGUIGen\getEnableEdit().
ilNewsItemGUI::editNews | ( | ) |
Definition at line 194 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 132 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::exitUpdateNewsItem | ( | ) |
FORM NewsItem: Exit update.
(Can be overwritten in derived classes)
Reimplemented from ilNewsItemGUIGen.
Definition at line 160 of file class.ilNewsItemGUI.php.
References $ilCtrl.
ilNewsItemGUI::getHTML | ( | ) |
Definition at line 46 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 60 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 70 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 99 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 79 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::prepareTableNewsForContext | ( | & | $a_table_gui | ) |
TABLE MewsForContext: Prepare the new table.
Reimplemented from ilNewsItemGUIGen.
Definition at line 212 of file class.ilNewsItemGUI.php.
ilNewsItemGUI::saveNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Reimplemented from ilNewsItemGUIGen.
Definition at line 122 of file class.ilNewsItemGUI.php.
References ilNewsItemGUIGen\getEnableEdit().
ilNewsItemGUI::updateNewsItem | ( | ) |
FORM NewsItem: Save NewsItem.
Reimplemented from ilNewsItemGUIGen.
Definition at line 150 of file class.ilNewsItemGUI.php.
References ilNewsItemGUIGen\getEnableEdit().