\default_modloader

Class module

Summary

Methods
Properties
Constants
__construct()
__destruct()
destruct()
construct()
No public properties found
No constants found
set_template()
register_query_string_filter()
set_query_string()
check_query_string_with_filter()
protect()
$registered_query_string_filter
$query_string
N/A
No private methods found
No private properties found
N/A

Properties

$registered_query_string_filter

$registered_query_string_filter : array

Query strings for all allowed sites

Type

array

$query_string

$query_string : boolean

Query string

Type

boolean

Methods

__construct()

__construct() 

Constructor

Set query string. Set default template. Call child constructor Check query string to match registered query string

__destruct()

__destruct() 

Destructor

Call child destructor

destruct()

destruct() : boolean

Dummy-Constructor

So that you don't have to define destructors in every mod. Overwritten in mod.

Returns

boolean

construct()

construct() 

set_template()

set_template(boolean  $tpl = false) 

Set template

Set default template if no template is give otherwise given template.

Parameters

boolean $tpl

register_query_string_filter()

register_query_string_filter(  $filter) 

Register query string filter

Collect all allowed query strings

Parameters

$filter

set_query_string()

set_query_string() 

Set query string

Set query string given from htaccess via $_GET parameter

check_query_string_with_filter()

check_query_string_with_filter() : boolean

Check query string with filter

If query string matches at least on registered query string return true, otherwise throw 404 error page and return false.

Returns

boolean

protect()

protect(boolean  $group = false) : boolean

Check for protected access only

Parameters

boolean $group

Returns

boolean