ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilPDSelectedItemsBlockViewSettings. More...
Public Member Functions | |
__construct ($actor, $view=self::VIEW_SELECTED_ITEMS) | |
ilPDSelectedItemsBlockViewSettings constructor. More... | |
getMembershipsView () | |
getSelectedItemsView () | |
getStudyProgrammeView () | |
isMembershipsViewActive () | |
isSelectedItemsViewActive () | |
isStudyProgrammeViewActive () | |
getSortByStartDateMode () | |
getSortByLocationMode () | |
getSortByTypeMode () | |
getDefaultSortType () | |
isSortedByType () | |
isSortedByLocation () | |
isSortedByStartDate () | |
storeDefaultSortType ($type) | |
enabledMemberships () | |
enabledSelectedItems () | |
enableMemberships ($status) | |
enableSelectedItems ($status) | |
allViewsEnabled () | |
getDefaultView () | |
storeDefaultView ($view) | |
parse () | |
getActor () | |
getCurrentView () | |
getCurrentSortOption () | |
isValidView ($view) | |
Protected Member Functions | |
allViewsDisabled () | |
Protected Attributes | |
$settings | |
$actor | |
$validViews = array() | |
$currentView = self::VIEW_SELECTED_ITEMS | |
$currentSortOption = self::SORT_BY_LOCATION | |
Static Protected Attributes | |
static | $availableViews |
static | $availableSortOptions |
static | $availableSortOptionsByView |
Additional Inherited Members | |
Data Fields inherited from ilPDSelectedItemsBlockConstants | |
const | VIEW_SELECTED_ITEMS = 0 |
const | VIEW_MY_MEMBERSHIPS = 1 |
const | VIEW_MY_STUDYPROGRAMME = 2 |
const | SORT_BY_TYPE = 'type' |
const | SORT_BY_LOCATION = 'location' |
const | SORT_BY_START_DATE = 'start_date' |
Class ilPDSelectedItemsBlockViewSettings.
Definition at line 9 of file class.ilPDSelectedItemsBlockViewSettings.php.
ilPDSelectedItemsBlockViewSettings::__construct | ( | $actor, | |
$view = self::VIEW_SELECTED_ITEMS |
|||
) |
ilPDSelectedItemsBlockViewSettings constructor.
ilObjUser | $actor | |
int | $view |
Definition at line 76 of file class.ilPDSelectedItemsBlockViewSettings.php.
References $actor, $DIC, $ilSetting, and settings().
|
protected |
Definition at line 244 of file class.ilPDSelectedItemsBlockViewSettings.php.
References enabledMemberships(), and enabledSelectedItems().
ilPDSelectedItemsBlockViewSettings::allViewsEnabled | ( | ) |
Definition at line 236 of file class.ilPDSelectedItemsBlockViewSettings.php.
References enabledMemberships(), and enabledSelectedItems().
ilPDSelectedItemsBlockViewSettings::enabledMemberships | ( | ) |
Definition at line 204 of file class.ilPDSelectedItemsBlockViewSettings.php.
References settings().
Referenced by allViewsDisabled(), allViewsEnabled(), and parse().
ilPDSelectedItemsBlockViewSettings::enabledSelectedItems | ( | ) |
Definition at line 212 of file class.ilPDSelectedItemsBlockViewSettings.php.
References settings().
Referenced by allViewsDisabled(), allViewsEnabled(), and parse().
ilPDSelectedItemsBlockViewSettings::enableMemberships | ( | $status | ) |
$status | boolean |
Definition at line 220 of file class.ilPDSelectedItemsBlockViewSettings.php.
References settings().
ilPDSelectedItemsBlockViewSettings::enableSelectedItems | ( | $status | ) |
$status | boolean |
Definition at line 228 of file class.ilPDSelectedItemsBlockViewSettings.php.
References settings().
ilPDSelectedItemsBlockViewSettings::getActor | ( | ) |
Definition at line 305 of file class.ilPDSelectedItemsBlockViewSettings.php.
References $actor.
Referenced by ilPDSelectedItemsBlockViewGUI\bySettings().
ilPDSelectedItemsBlockViewSettings::getCurrentSortOption | ( | ) |
Definition at line 321 of file class.ilPDSelectedItemsBlockViewSettings.php.
References $currentSortOption.
ilPDSelectedItemsBlockViewSettings::getCurrentView | ( | ) |
Definition at line 313 of file class.ilPDSelectedItemsBlockViewSettings.php.
References $currentView.
Referenced by parse().
ilPDSelectedItemsBlockViewSettings::getDefaultSortType | ( | ) |
Definition at line 163 of file class.ilPDSelectedItemsBlockViewSettings.php.
References getSortByLocationMode(), and settings().
Referenced by parse().
ilPDSelectedItemsBlockViewSettings::getDefaultView | ( | ) |
Definition at line 252 of file class.ilPDSelectedItemsBlockViewSettings.php.
References getSelectedItemsView(), and settings().
Referenced by parse().
ilPDSelectedItemsBlockViewSettings::getMembershipsView | ( | ) |
Definition at line 91 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by isMembershipsViewActive(), and parse().
ilPDSelectedItemsBlockViewSettings::getSelectedItemsView | ( | ) |
Definition at line 99 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by getDefaultView(), isSelectedItemsViewActive(), and parse().
ilPDSelectedItemsBlockViewSettings::getSortByLocationMode | ( | ) |
Definition at line 147 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by getDefaultSortType(), and isSortedByLocation().
ilPDSelectedItemsBlockViewSettings::getSortByStartDateMode | ( | ) |
Definition at line 139 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by isSortedByStartDate().
ilPDSelectedItemsBlockViewSettings::getSortByTypeMode | ( | ) |
Definition at line 155 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by isSortedByType().
ilPDSelectedItemsBlockViewSettings::getStudyProgrammeView | ( | ) |
Definition at line 107 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by isStudyProgrammeViewActive().
ilPDSelectedItemsBlockViewSettings::isMembershipsViewActive | ( | ) |
Definition at line 115 of file class.ilPDSelectedItemsBlockViewSettings.php.
References getMembershipsView().
Referenced by ilPDSelectedItemsBlockViewGUI\bySettings().
ilPDSelectedItemsBlockViewSettings::isSelectedItemsViewActive | ( | ) |
Definition at line 123 of file class.ilPDSelectedItemsBlockViewSettings.php.
References getSelectedItemsView().
Referenced by parse().
ilPDSelectedItemsBlockViewSettings::isSortedByLocation | ( | ) |
Definition at line 179 of file class.ilPDSelectedItemsBlockViewSettings.php.
References getSortByLocationMode().
ilPDSelectedItemsBlockViewSettings::isSortedByStartDate | ( | ) |
Definition at line 187 of file class.ilPDSelectedItemsBlockViewSettings.php.
References getSortByStartDateMode().
ilPDSelectedItemsBlockViewSettings::isSortedByType | ( | ) |
Definition at line 171 of file class.ilPDSelectedItemsBlockViewSettings.php.
References getSortByTypeMode().
ilPDSelectedItemsBlockViewSettings::isStudyProgrammeViewActive | ( | ) |
Definition at line 131 of file class.ilPDSelectedItemsBlockViewSettings.php.
References getStudyProgrammeView().
Referenced by parse().
ilPDSelectedItemsBlockViewSettings::isValidView | ( | $view | ) |
string | $view |
Definition at line 330 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by parse().
ilPDSelectedItemsBlockViewSettings::parse | ( | ) |
Definition at line 269 of file class.ilPDSelectedItemsBlockViewSettings.php.
References $key, enabledMemberships(), enabledSelectedItems(), getCurrentView(), getDefaultSortType(), getDefaultView(), getMembershipsView(), getSelectedItemsView(), isSelectedItemsViewActive(), isStudyProgrammeViewActive(), isValidView(), and storeDefaultView().
ilPDSelectedItemsBlockViewSettings::storeDefaultSortType | ( | $type | ) |
string | $type |
Definition at line 195 of file class.ilPDSelectedItemsBlockViewSettings.php.
References $type, and settings().
ilPDSelectedItemsBlockViewSettings::storeDefaultView | ( | $view | ) |
$view | int |
Definition at line 260 of file class.ilPDSelectedItemsBlockViewSettings.php.
References settings().
Referenced by parse().
|
protected |
Definition at line 54 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by __construct(), and getActor().
|
staticprotected |
Definition at line 23 of file class.ilPDSelectedItemsBlockViewSettings.php.
|
staticprotected |
Definition at line 32 of file class.ilPDSelectedItemsBlockViewSettings.php.
|
staticprotected |
Definition at line 14 of file class.ilPDSelectedItemsBlockViewSettings.php.
|
protected |
Definition at line 69 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by getCurrentSortOption().
|
protected |
Definition at line 64 of file class.ilPDSelectedItemsBlockViewSettings.php.
Referenced by getCurrentView().
|
protected |
Definition at line 49 of file class.ilPDSelectedItemsBlockViewSettings.php.
|
protected |
Definition at line 59 of file class.ilPDSelectedItemsBlockViewSettings.php.