functions.php
Table of Contents
- calc_runtime() : float
- Ausführungszeit berechnen
- url_adds() : string
- Add session id, legacy mode and content-only params to location header url
- is_site() : bool
- is_api() : bool
- is_cli() : bool
- get_page_type() : string|null
- get_runtime_mode() : string
- get_custom_handler() : mixed
- get_lib() : string
- require_lib() : mixed
- require_public_lib() : mixed
- generateNavbar() : string
- Navigationsleiste
- offset_path() : mixed
- Verzeichnis relativ zum aktuellen Verzeichnis ermitteln
- rel_path() : string
- Pfad mit relativem Verzeichnispfad zusammenstellen
- page_limit() : string
- Tabelle auf mehrere Seiten aufteilen Es wird hier nur das LIMIT für den SQL-Query berechnet.
- clean_query_string() : void
- Save Runtime::$queryStringClean by imploding the current manipulated Runtime::$queryStringArray.
- unset_query_string_array_key() : mixed
- init_mail() : mixed
Functions
calc_runtime()
Ausführungszeit berechnen
calc_runtime() : float
url_adds()
Add session id, legacy mode and content-only params to location header url
url_adds([mixed $mode = 1 ][, mixed $ignore_lm = false ][, mixed $session_id = '' ]) : string
Parameters
- $mode : mixed = 1
- $ignore_lm : mixed = false
- $session_id : mixed = ''
Tags
is_site()
is_site() : bool
is_api()
is_api() : bool
is_cli()
is_cli() : bool
get_page_type()
get_page_type() : string|null
get_runtime_mode()
get_runtime_mode() : string
get_custom_handler()
get_custom_handler(string $key, string $handler[, mixed $data = null ]) : mixed
Parameters
- $key : string
- $handler : string
- $data : mixed = null
Tags
get_lib()
get_lib(mixed $rel_path[, mixed $module = 'own' ]) : string
Parameters
- $rel_path : mixed
- $module : mixed = 'own'
require_lib()
require_lib(mixed $rel_path[, mixed $module = 'own' ]) : mixed
Parameters
- $rel_path : mixed
- $module : mixed = 'own'
require_public_lib()
require_public_lib(mixed $rel_path[, mixed $module = 'public_module' ]) : mixed
Parameters
- $rel_path : mixed
- $module : mixed = 'public_module'
generateNavbar()
Navigationsleiste
generateNavbar(array<string|int, mixed> $items_array[, string $navbar_items = '' ]) : string
Parameters
- $items_array : array<string|int, mixed>
- $navbar_items : string = ''
offset_path()
Verzeichnis relativ zum aktuellen Verzeichnis ermitteln
offset_path([mixed $dir = '' ], mixed $offset) : mixed
Parameters
- $dir : mixed = ''
- $offset : mixed
rel_path()
Pfad mit relativem Verzeichnispfad zusammenstellen
rel_path(string $file_path, int $offset[, string $dir = '' ]) : string
Parameters
- $file_path : string
- $offset : int
- $dir : string = ''
page_limit()
Tabelle auf mehrere Seiten aufteilen Es wird hier nur das LIMIT für den SQL-Query berechnet.
page_limit() : string
clean_query_string()
Save Runtime::$queryStringClean by imploding the current manipulated Runtime::$queryStringArray.
clean_query_string() : void
unset_query_string_array_key()
unset_query_string_array_key(mixed $pattern) : mixed
Parameters
- $pattern : mixed
init_mail()
init_mail([mixed $module = null ]) : mixed
Parameters
- $module : mixed = null