View
class View
View determines what page-(sub)class (or combinations of) needs to be called
Properties
array | $GPvars | ||
bool | $user | ||
array | $args | ||
protected Core | $instance | ||
protected xelos_global_template | $template | ||
protected string | $ntlm_auth |
Methods
No description
No description
Determine current commands
Determine currently executed main instance
Determine currently executed main module
Determine currently viewed nav_id
Determine currently executed Page
No description
Returns the reference of the main instance.
Returns the page the user came from (determined by referer, checked for validity)
Return the primary template object
No description
Check if Authentication Method is available
Return true if the instance_id is considered special
No description
Check wether this is a public page valid to be called
Load currently active template or set
Redirect user to the passed URL
Redirect with JS output
Show 404 Error Page
No description
No description
Redirects the user to the passed URL after the passed delay. Shows a loader and the passed message.
Force currently executed main module
Show Login Dialog
Show Password Change Dialog
Prepare and show the auth token form
No description
Details
at line 142
final bool|mixed|string
execute(array $GPvars = array())
No description
at line 1462
null|Template
getTemplateController($force_reload = false)
No description
at line 1751
string|array
get_current_cmd()
Determine current commands
at line 1735
string
get_current_instance()
Determine currently executed main instance
at line 1707
string
get_current_module()
Determine currently executed main module
at line 1715
int
get_current_nav_id($guess_if_unknown = false)
Determine currently viewed nav_id
at line 1743
string
get_current_page()
Determine currently executed Page
at line 1686
string
get_first_page_of_instance(string $instance_id)
No description
at line 62
Core
get_instance()
Returns the reference of the main instance.
at line 1645
string
get_last_page_url(bool $loop_check = true)
Returns the page the user came from (determined by referer, checked for validity)
at line 1776
xelos_global_template
get_primary_template()
Return the primary template object
at line 1042
array
get_route_params(string $route, array $raw = [])
No description
at line 1164
mixed
handle_special_page(Core $instance, string $page_id, array $args)
No description
at line 1761
bool
is_auth_method_available(mixed $auth_method)
Check if Authentication Method is available
at line 1125
bool
is_special_instance(string $instance_id)
Return true if the instance_id is considered special
at line 1104
bool
is_special_page(string $page_id)
No description
at line 1146
bool
is_valid_public_call(mixed $instance_id, mixed $page_id)
Check wether this is a public page valid to be called
at line 1374
string
load_theme_template(bool $force_reload = false)
Load currently active template or set
at line 1478
redirect(mixed $url = null, bool $as_cleanup = false)
Redirect user to the passed URL
at line 1531
redirectJS(string $url)
Redirect with JS output
at line 1540
void
redirect_404()
Show 404 Error Page
at line 1555
redirect_back(bool|string $url = false, bool $as_cleanup = false)
No description
at line 1569
redirect_to_login()
No description
at line 1584
redirect_with_delay(string $url, string $title = false, string $message = false, int $delay = 2)
Redirects the user to the passed URL after the passed delay. Shows a loader and the passed message.
at line 1727
string
set_current_module($mod = false)
Force currently executed main module
at line 1244
string|null
show_login(mixed $message = false, bool $allow_rememberme = true, bool $skip_mobile_detect = false, $extended_auth = false)
Show Login Dialog
at line 1352
void
show_pw_change(mixed $message)
Show Password Change Dialog
at line 1221
bool
show_two_factor_form(string $message = null)
Prepare and show the auth token form
at line 75
show_update_page(array $update_packages, string $update_info)
No description