API Documentation
Table of Contents
Namespaces
Constants
- GB_ICONS = CfgDiv::iconVar()
- GB_IS_BOT = $bBot
- GB_LNG_USER = $cfgUserLng
- GB_LNG_VARS = $this->load($this->sectionGlobal)
- GB_LNG_VARS_ERR = $this->load($this->sectionError)
- GB_URL_LNG = $this->env['GB_URL'] . $cfgBaseLng
Functions
- getLng() : string
- Language vars type 'global'
- getIcon() : string
- Icons
- strtr_full() : string
- Replaces all {foo}, which are not in $change Dabei werden evtl. gekapselte auch entfent, daher nicht immer verwendbar In {title} wird htmlspecialchars() ausgeführt
- cleanTitle() : array<string|int, mixed>
- replacePlaceholders() : string
- cleanAttributes() : string
- Cleaning empty title, rel and class from HTML tags
- removePlaceholders() : array<string|int, mixed>|string|array<string|int, string>|null
- getLngErr() : string
- Error-Vars
- mb_ucfirst() : string
Constants
GB_ICONS
public
mixed
GB_ICONS
= CfgDiv::iconVar()
GB_IS_BOT
public
mixed
GB_IS_BOT
= $bBot
GB_LNG_USER
public
mixed
GB_LNG_USER
= $cfgUserLng
GB_LNG_VARS
public
mixed
GB_LNG_VARS
= $this->load($this->sectionGlobal)
GB_LNG_VARS_ERR
public
mixed
GB_LNG_VARS_ERR
= $this->load($this->sectionError)
GB_URL_LNG
public
mixed
GB_URL_LNG
= $this->env['GB_URL'] . $cfgBaseLng
Functions
getLng()
Language vars type 'global'
getLng(string $key) : string
Parameters
- $key : string
Tags
Return values
stringgetIcon()
Icons
getIcon(string $key) : string
Parameters
- $key : string
Tags
Return values
stringstrtr_full()
Replaces all {foo}, which are not in $change Dabei werden evtl. gekapselte auch entfent, daher nicht immer verwendbar In {title} wird htmlspecialchars() ausgeführt
strtr_full(string $template, array<string|int, mixed> $change) : string
Parameters
- $template : string
- $change : array<string|int, mixed>
Return values
stringcleanTitle()
cleanTitle(array<string|int, mixed> $change) : array<string|int, mixed>
Parameters
- $change : array<string|int, mixed>
Return values
array<string|int, mixed>replacePlaceholders()
replacePlaceholders(string $return, array<string|int, mixed> $change, string $placeholder, callable $replacementFunction) : string
Parameters
- $return : string
- $change : array<string|int, mixed>
- $placeholder : string
- $replacementFunction : callable
Return values
stringcleanAttributes()
Cleaning empty title, rel and class from HTML tags
cleanAttributes(string $return) : string
Parameters
- $return : string
Return values
stringremovePlaceholders()
removePlaceholders(string $return) : array<string|int, mixed>|string|array<string|int, string>|null
Parameters
- $return : string
Return values
array<string|int, mixed>|string|array<string|int, string>|nullgetLngErr()
Error-Vars
getLngErr(string $key) : string
Parameters
- $key : string
-
- NothingFound SubmitTitle Country AdsGeneral Name NameDouble Email EmailMiss EmailTrash EmailWrong EmailDbl EmailSend Pw PwCtrl PwShort PwEqual Double LoginFailed WrongTown PartyName PartyNameEmpty PartyNameReserved PartyNameLong PartyNameLoctownNr PartyExist PartyPassword PartyEmail PartyLoctown PartyDate PartyTooLong PartyNoFbRead EmptyFields Empty Exists NoUrl NoOnline Content Blacklight Sunrise NoText Tags TagsHint Unknown GeoPermDenied GeoPosUnknown GeoTimeout Confirm
Return values
stringmb_ucfirst()
mb_ucfirst(string $str) : string
Parameters
- $str : string