|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
News settings for containers. More...
Collaboration diagram for ilContainerNewsSettingsGUI:Public Member Functions | |
| __construct (ilObjectGUI $a_parent_gui) | |
| Constructor. More... | |
| executeCommand () | |
| Execute command. More... | |
| show () | |
| Show. More... | |
| initForm () | |
| Init settings form. More... | |
| save () | |
| Save settings form. More... | |
| initDefaultOptions () | |
| Set all possible news options as false;. More... | |
| setTimeline (bool $a_value) | |
| Set if the container has timeline or not. More... | |
| getTimeline () | |
| Get if the container has timeline or not. More... | |
| setCronNotifications (bool $a_value) | |
| Set if the container has a configurable cron job to send notifications. More... | |
| getCronNotifications () | |
| Get if the container has a configurable cron job to send notifications. More... | |
| setHideByDate (bool $a_value) | |
| Set if the container can hide news created before a date. More... | |
| getHideByDate () | |
| Get if the container can hide news created before a date. More... | |
| setPublicNotification (bool $a_value) | |
| Set if this repository object has public notifications. More... | |
| getPublicNotification () | |
| Get if this repository object has public notifications available. More... | |
| setNewsBlockForced (bool $a_value) | |
| Set if the News block is forced. More... | |
| getNewsBlockForced () | |
| Get if the repository object has the news block forced. More... | |
Protected Attributes | |
| $ctrl | |
| $tpl | |
| $lng | |
| $setting | |
| $parent_gui | |
| $object | |
| $has_timeline | |
| $has_cron_notifications | |
| $has_hide_by_date | |
| $has_public_notification | |
| $has_block_forced | |
News settings for containers.
Definition at line 12 of file class.ilContainerNewsSettingsGUI.php.
| ilContainerNewsSettingsGUI::__construct | ( | ilObjectGUI | $a_parent_gui | ) |
Constructor.
Definition at line 72 of file class.ilContainerNewsSettingsGUI.php.
References $DIC, and initDefaultOptions().
Here is the call graph for this function:| ilContainerNewsSettingsGUI::executeCommand | ( | ) |
Execute command.
Definition at line 90 of file class.ilContainerNewsSettingsGUI.php.
| ilContainerNewsSettingsGUI::getCronNotifications | ( | ) |
Get if the container has a configurable cron job to send notifications.
Definition at line 321 of file class.ilContainerNewsSettingsGUI.php.
References getCronNotifications().
Referenced by getCronNotifications().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerNewsSettingsGUI::getHideByDate | ( | ) |
Get if the container can hide news created before a date.
Definition at line 339 of file class.ilContainerNewsSettingsGUI.php.
References $has_hide_by_date.
| ilContainerNewsSettingsGUI::getNewsBlockForced | ( | ) |
Get if the repository object has the news block forced.
Definition at line 375 of file class.ilContainerNewsSettingsGUI.php.
References $has_block_forced.
| ilContainerNewsSettingsGUI::getPublicNotification | ( | ) |
Get if this repository object has public notifications available.
Definition at line 357 of file class.ilContainerNewsSettingsGUI.php.
References $has_public_notification.
| ilContainerNewsSettingsGUI::getTimeline | ( | ) |
Get if the container has timeline or not.
Definition at line 303 of file class.ilContainerNewsSettingsGUI.php.
References $has_timeline.
| ilContainerNewsSettingsGUI::initDefaultOptions | ( | ) |
Set all possible news options as false;.
Definition at line 282 of file class.ilContainerNewsSettingsGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilContainerNewsSettingsGUI::initForm | ( | ) |
Init settings form.
Definition at line 118 of file class.ilContainerNewsSettingsGUI.php.
References ilNewsForContextBlockGUI\$block_type, $form, ilObject\_getAllReferences(), ilBlockSetting\_lookup(), ilObject\_lookupType(), ilMembershipNotifications\addToSettingsForm(), ilNewsForContextBlockGUI\addToSettingsForm(), IL_CAL_DATETIME, and ilObjectServiceSettingsGUI\NEWS_VISIBILITY.
Referenced by save(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContainerNewsSettingsGUI::save | ( | ) |
Save settings form.
Definition at line 234 of file class.ilContainerNewsSettingsGUI.php.
References $_POST, $form, ilObject\_getAllReferences(), ilObject\_lookupType(), ilMembershipNotifications\importFromForm(), initForm(), ilObjectServiceSettingsGUI\NEWS_VISIBILITY, and ilNewsForContextBlockGUI\writeSettings().
Here is the call graph for this function:| ilContainerNewsSettingsGUI::setCronNotifications | ( | bool | $a_value | ) |
Set if the container has a configurable cron job to send notifications.
| bool | $a_value |
Definition at line 312 of file class.ilContainerNewsSettingsGUI.php.
| ilContainerNewsSettingsGUI::setHideByDate | ( | bool | $a_value | ) |
Set if the container can hide news created before a date.
| bool | $a_value |
Definition at line 330 of file class.ilContainerNewsSettingsGUI.php.
| ilContainerNewsSettingsGUI::setNewsBlockForced | ( | bool | $a_value | ) |
Set if the News block is forced.
| bool | $a_value |
Definition at line 366 of file class.ilContainerNewsSettingsGUI.php.
| ilContainerNewsSettingsGUI::setPublicNotification | ( | bool | $a_value | ) |
Set if this repository object has public notifications.
| bool | $a_value |
Definition at line 348 of file class.ilContainerNewsSettingsGUI.php.
| ilContainerNewsSettingsGUI::setTimeline | ( | bool | $a_value | ) |
Set if the container has timeline or not.
| bool | $a_value |
Definition at line 294 of file class.ilContainerNewsSettingsGUI.php.
| ilContainerNewsSettingsGUI::show | ( | ) |
Show.
return
Definition at line 109 of file class.ilContainerNewsSettingsGUI.php.
References $form, and initForm().
Here is the call graph for this function:
|
protected |
Definition at line 17 of file class.ilContainerNewsSettingsGUI.php.
|
protected |
Definition at line 67 of file class.ilContainerNewsSettingsGUI.php.
Referenced by getNewsBlockForced().
|
protected |
Definition at line 52 of file class.ilContainerNewsSettingsGUI.php.
|
protected |
Definition at line 57 of file class.ilContainerNewsSettingsGUI.php.
Referenced by getHideByDate().
|
protected |
Definition at line 62 of file class.ilContainerNewsSettingsGUI.php.
Referenced by getPublicNotification().
|
protected |
Definition at line 47 of file class.ilContainerNewsSettingsGUI.php.
Referenced by getTimeline().
|
protected |
Definition at line 27 of file class.ilContainerNewsSettingsGUI.php.
|
protected |
Definition at line 42 of file class.ilContainerNewsSettingsGUI.php.
|
protected |
Definition at line 37 of file class.ilContainerNewsSettingsGUI.php.
|
protected |
Definition at line 32 of file class.ilContainerNewsSettingsGUI.php.
|
protected |
Definition at line 22 of file class.ilContainerNewsSettingsGUI.php.