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
Returns the default page url for the current user
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
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
No description
Details
at line 146
final bool|mixed|string
execute(array $GPvars = array())
No description
at line 1730
string
getDefaultPageUrl()
Returns the default page url for the current user
at line 1474
Template|null
getTemplateController(bool $force_reload = false)
No description
at line 1830
string|array
get_current_cmd()
Determine current commands
at line 1814
string
get_current_instance()
Determine currently executed main instance
at line 1786
string
get_current_module()
Determine currently executed main module
at line 1794
int
get_current_nav_id($guess_if_unknown = false)
Determine currently viewed nav_id
at line 1822
string
get_current_page()
Determine currently executed Page
at line 1765
string
get_first_page_of_instance(string $instance_id)
No description
at line 66
Core
get_instance()
Returns the reference of the main instance.
at line 1685
string
get_last_page_url(bool $loop_check = true)
Returns the page the user came from (determined by referer, checked for validity)
at line 1855
xelos_global_template
get_primary_template()
Return the primary template object
at line 1070
array
get_route_params(string $route, array $raw = [])
No description
at line 1192
mixed
handle_special_page(Core $instance, string $page_id, array $args, $useRawArgsFromRoute = true)
No description
at line 1840
bool
is_auth_method_available(mixed $auth_method)
Check if Authentication Method is available
at line 1153
bool
is_special_instance(string $instance_id)
Return true if the instance_id is considered special
at line 1132
bool
is_special_page(string $page_id)
No description
at line 1174
bool
is_valid_public_call(mixed $instance_id, mixed $page_id)
Check wether this is a public page valid to be called
at line 1390
string
load_theme_template(bool $force_reload = false)
Load currently active template or set
at line 1493
redirect(mixed $url = null, bool $as_cleanup = false)
Redirect user to the passed URL
at line 1553
redirectJS(string $url)
Redirect with JS output
at line 1565
void
redirect_404(string|null $errorMessage = null)
Show 404 Error Page
at line 1590
redirect_back(bool|string $url = false, bool $as_cleanup = false)
No description
at line 1604
redirect_to_login()
No description
at line 1619
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 1806
string
set_current_module($mod = false)
Force currently executed main module
at line 1253
string|null
show_login(mixed $message = false, bool $allow_rememberme = true, bool $skip_mobile_detect = false, $extended_auth = false)
Show Login Dialog
at line 1367
void
show_pw_change(mixed $message)
Show Password Change Dialog
at line 79
show_update_page(array $update_packages, string $update_info)
No description