|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
@classDescription Base class for all ILIAS Views More...
Collaboration diagram for ilBaseViewGUI:Public Member Functions | |
| __construct () | |
| allowDesktop () | |
| showViewNav () | |
| spacerClass () | |
| spacer_class More... | |
| addCss () | |
| css files are added to the header More... | |
| appendInlineCss () | |
| content of css files are appended to the main page html just before </body> end tag More... | |
| redirectToHome ($_msg_type=self::MSG_INFO, $_msg='') | |
| getHomeTitle () | |
| findEffectiveRefId () | |
| Find effective ref_id for request. More... | |
| getHttpPath () | |
| isContainer ($obj_type) | |
| getSessionValue ($sess_key) | |
| get session value != '' More... | |
Data Fields | |
| const | TOP_SPACER = "ilFixedTopSpacer" |
| const | TOP_SPACER_BAR_ONLY = "ilFixedTopSpacerBarOnly" |
| const | ROOT_CONTAINER = "container" |
| const | ROOT_CRS = "crs" |
| const | ROOT_GRP = "grp" |
| $tree_root_id = ROOT_FOLDER_ID | |
| dynamic tree_root_folder_id show tree from tree_root_id More... | |
Protected Member Functions | |
| getHomeLink () | |
| helper function for home link creation More... | |
| getCmdLink ($cmd) | |
| helper function for cmd link creation More... | |
| log ($txt) | |
Protected Attributes | |
| $allow_desktop = true | |
| override these switches in the view constructor More... | |
| $view_nav = true | |
| $use_top_bar_url = false | |
| $root_type = ROOT_CONTAINER | |
| $dic = null | |
| $ctrl = null | |
| $ilias = null | |
| $link_dir = "" | |
| $home_id = '' | |
| home id (ref_id) The view maybe support a view home link in the topbar (static or dynamically, see topbar_back_url in Member- and LTIView) More... | |
| $home_obj_id = '' | |
| home obj_id More... | |
| $home_type = '' | |
| home type (obj_type of ref_id) The view maybe support a view home link in the topbar (static or dynamically, see topbar_back_url in Member- and LTIView) More... | |
| $home_title = '' | |
| home title (title of ref_id) More... | |
| $home_url = '' | |
| home Link (see topbar_back_url concept in MainMenuGUI) More... | |
| $home_items = [] | |
| cache ref_ids of home subtree items if request is in home context $show_home_link = false else $show_home_link = true More... | |
| $show_home_link = false | |
| show home link in topbar (similar to topbar_back_url = '' in MainMenu) More... | |
| $root_folder_id = ROOT_FOLDER_ID | |
| root folder id Don't allow any access to higher level objects in this view More... | |
| $root_folder_items = [] | |
| all allowed items More... | |
| $tree_root_types = [] | |
| tree root types show tree from ref_id with obj_types if requested obj_type of ref_id is in array of $root_tree_types show this id as tree_root_id, else lookup if a parent obj_type of the ref_id matches the array and set tree_root_id to the first match More... | |
| $fix_tree_id = '' | |
| Fix tree_id Show always tree from id. More... | |
| $current_ref_id = "" | |
| ref_id from current request More... | |
| $current_type = "" | |
| obj_type of current ref_id More... | |
@classDescription Base class for all ILIAS Views
Definition at line 32 of file class.ilBaseViewGUI.php.
| ilBaseViewGUI::__construct | ( | ) |
Definition at line 151 of file class.ilBaseViewGUI.php.
| ilBaseViewGUI::addCss | ( | ) |
css files are added to the header
Definition at line 190 of file class.ilBaseViewGUI.php.
| ilBaseViewGUI::allowDesktop | ( | ) |
Definition at line 165 of file class.ilBaseViewGUI.php.
References $allow_desktop.
| ilBaseViewGUI::appendInlineCss | ( | ) |
content of css files are appended to the main page html just before </body> end tag
Definition at line 199 of file class.ilBaseViewGUI.php.
| ilBaseViewGUI::findEffectiveRefId | ( | ) |
Find effective ref_id for request.
Definition at line 244 of file class.ilBaseViewGUI.php.
References $_GET, $target_arr, ilObject\_lookupObjectId(), ilObject\_lookupTitle(), and ilObject\_lookupType().
Here is the call graph for this function:
|
protected |
helper function for cmd link creation
Definition at line 215 of file class.ilBaseViewGUI.php.
References $ilCtrl.
|
protected |
helper function for home link creation
Definition at line 207 of file class.ilBaseViewGUI.php.
References $home_id.
Referenced by redirectToHome().
Here is the caller graph for this function:| ilBaseViewGUI::getHomeTitle | ( | ) |
Definition at line 236 of file class.ilBaseViewGUI.php.
References ilObject\_lookupTitle().
Here is the call graph for this function:| ilBaseViewGUI::getHttpPath | ( | ) |
Definition at line 259 of file class.ilBaseViewGUI.php.
References $_SERVER, $https, GuzzleHttp\Psr7\$protocol, and ilUtil\removeTrailingPathSeparators().
Here is the call graph for this function:| ilBaseViewGUI::getSessionValue | ( | $sess_key | ) |
get session value != ''
| $sess_key | string |
Definition at line 294 of file class.ilBaseViewGUI.php.
References $_SESSION.
| ilBaseViewGUI::isContainer | ( | $obj_type | ) |
Definition at line 277 of file class.ilBaseViewGUI.php.
|
protected |
Definition at line 283 of file class.ilBaseViewGUI.php.
References $txt.
| ilBaseViewGUI::redirectToHome | ( | $_msg_type = self::MSG_INFO, |
|
$_msg = '' |
|||
| ) |
Definition at line 225 of file class.ilBaseViewGUI.php.
References $_SESSION, exit, getHomeLink(), and ilUtil\redirect().
Here is the call graph for this function:| ilBaseViewGUI::showViewNav | ( | ) |
Definition at line 173 of file class.ilBaseViewGUI.php.
References $view_nav.
| ilBaseViewGUI::spacerClass | ( | ) |
spacer_class
Definition at line 181 of file class.ilBaseViewGUI.php.
References TOP_SPACER, and TOP_SPACER_BAR_ONLY.
|
protected |
override these switches in the view constructor
Definition at line 50 of file class.ilBaseViewGUI.php.
Referenced by allowDesktop().
|
protected |
Definition at line 64 of file class.ilBaseViewGUI.php.
|
protected |
ref_id from current request
Definition at line 143 of file class.ilBaseViewGUI.php.
|
protected |
obj_type of current ref_id
Definition at line 148 of file class.ilBaseViewGUI.php.
|
protected |
Definition at line 62 of file class.ilBaseViewGUI.php.
|
protected |
Fix tree_id Show always tree from id.
Definition at line 138 of file class.ilBaseViewGUI.php.
|
protected |
home id (ref_id) The view maybe support a view home link in the topbar (static or dynamically, see topbar_back_url in Member- and LTIView)
Definition at line 74 of file class.ilBaseViewGUI.php.
Referenced by getHomeLink().
|
protected |
cache ref_ids of home subtree items if request is in home context $show_home_link = false else $show_home_link = true
Definition at line 102 of file class.ilBaseViewGUI.php.
|
protected |
home obj_id
Definition at line 79 of file class.ilBaseViewGUI.php.
|
protected |
home title (title of ref_id)
Definition at line 90 of file class.ilBaseViewGUI.php.
|
protected |
home type (obj_type of ref_id) The view maybe support a view home link in the topbar (static or dynamically, see topbar_back_url in Member- and LTIView)
Definition at line 85 of file class.ilBaseViewGUI.php.
|
protected |
home Link (see topbar_back_url concept in MainMenuGUI)
Definition at line 95 of file class.ilBaseViewGUI.php.
|
protected |
Definition at line 66 of file class.ilBaseViewGUI.php.
Referenced by __construct().
|
protected |
Definition at line 68 of file class.ilBaseViewGUI.php.
|
protected |
root folder id Don't allow any access to higher level objects in this view
Definition at line 113 of file class.ilBaseViewGUI.php.
|
protected |
all allowed items
Definition at line 118 of file class.ilBaseViewGUI.php.
|
protected |
Definition at line 56 of file class.ilBaseViewGUI.php.
|
protected |
show home link in topbar (similar to topbar_back_url = '' in MainMenu)
Definition at line 107 of file class.ilBaseViewGUI.php.
| ilBaseViewGUI::$tree_root_id = ROOT_FOLDER_ID |
dynamic tree_root_folder_id show tree from tree_root_id
Definition at line 124 of file class.ilBaseViewGUI.php.
|
protected |
tree root types show tree from ref_id with obj_types if requested obj_type of ref_id is in array of $root_tree_types show this id as tree_root_id, else lookup if a parent obj_type of the ref_id matches the array and set tree_root_id to the first match
Definition at line 132 of file class.ilBaseViewGUI.php.
|
protected |
Definition at line 54 of file class.ilBaseViewGUI.php.
|
protected |
Definition at line 52 of file class.ilBaseViewGUI.php.
Referenced by showViewNav().
| const ilBaseViewGUI::ROOT_CONTAINER = "container" |
Definition at line 42 of file class.ilBaseViewGUI.php.
| const ilBaseViewGUI::ROOT_CRS = "crs" |
Definition at line 43 of file class.ilBaseViewGUI.php.
| const ilBaseViewGUI::ROOT_GRP = "grp" |
Definition at line 44 of file class.ilBaseViewGUI.php.
| const ilBaseViewGUI::TOP_SPACER = "ilFixedTopSpacer" |
Definition at line 38 of file class.ilBaseViewGUI.php.
Referenced by spacerClass().
| const ilBaseViewGUI::TOP_SPACER_BAR_ONLY = "ilFixedTopSpacerBarOnly" |
Definition at line 39 of file class.ilBaseViewGUI.php.
Referenced by spacerClass().