Documentation

Documentation

Packages

Default
Services

Namespaces

GDO
gdo6

Interfaces, Classes and Traits

CronjobApplication
The application can control main behaviour settings.
GWS_AvatarUpload
Websocket method wrapper for avatar upload.
Memcached
A non-operation memcached shim, for when you don't have memcached.
Skill
- GDO -
WebsocketApplication
The application can control main behaviour settings.
WBT_Tile
- GDO -
TestApp
The application can control main behaviour settings.
InstallerApp
The application can control main behaviour settings.

Table of Contents

__showTree()  : mixed
_gwfTreeRecurse()  : mixed
th()  : mixed
td()  : mixed
td2()  : mixed
b()  : mixed
tbsbbimg()  : string
Image path for gui img.
sitename()  : mixed
url()  : mixed
urlSEO()  : mixed
href()  : mixed
hrefDefault()  : mixed
hrefSEO()  : mixed
urlencodeSEO()  : mixed
quote()  : mixed
json_quote()  : mixed
html()  : mixed
env()  : mixed
def()  : mixed
hdr()  : mixed
t()  : string
Global translate function to translate into current language ISO.
ten()  : string
Global translate function to translate into english.
tiso()  : string
Global translate function to translate into an ISO language code.
tusr()  : string
Global translate function to translate into a user's language.
tt()  : string
Display a date value into current language iso.
method()  : Method
mo()  : string
Get requested module name.
me()  : string
Get requested method name
module_enabled()  : bool
Check if a module is enabled.
runTestSuite()  : mixed

Functions

th()

th(mixed $text, mixed $width) : mixed
Parameters
$text : mixed
$width : mixed

td()

td(mixed $text[, mixed $align = "left" ]) : mixed
Parameters
$text : mixed
$align : mixed = "left"

td2()

td2(mixed $text[, mixed $align = "right" ]) : mixed
Parameters
$text : mixed
$align : mixed = "right"

b()

b(mixed $text) : mixed
Parameters
$text : mixed

tbsbbimg()

Image path for gui img.

tbsbbimg(string $img) : string
Parameters
$img : string

sitename()

sitename() : mixed

url()

url(mixed $module, mixed $method[, mixed $append = '' ][, mixed $lang = true ]) : mixed
Parameters
$module : mixed
$method : mixed
$append : mixed = ''
$lang : mixed = true

urlSEO()

urlSEO(mixed $seoString, mixed $module, mixed $method[, mixed $append = '' ][, mixed $lang = true ]) : mixed
Parameters
$seoString : mixed
$module : mixed
$method : mixed
$append : mixed = ''
$lang : mixed = true

href()

href(mixed $module, mixed $method[, mixed $append = '' ][, mixed $lang = true ]) : mixed
Parameters
$module : mixed
$method : mixed
$append : mixed = ''
$lang : mixed = true

hrefDefault()

hrefDefault() : mixed

hrefSEO()

hrefSEO(mixed $seoString, mixed $module, mixed $method[, mixed $append = '' ][, mixed $lang = true ]) : mixed
Parameters
$seoString : mixed
$module : mixed
$method : mixed
$append : mixed = ''
$lang : mixed = true

urlencodeSEO()

urlencodeSEO(mixed $str) : mixed
Parameters
$str : mixed

quote()

quote(mixed $value) : mixed
Parameters
$value : mixed

json_quote()

json_quote(mixed $s) : mixed
Parameters
$s : mixed

html()

html(mixed $html) : mixed
Parameters
$html : mixed

env()

env(mixed $key[, mixed $default = null ]) : mixed
Parameters
$key : mixed
$default : mixed = null

def()

def(mixed $key[, mixed $default = null ]) : mixed
Parameters
$key : mixed
$default : mixed = null

hdr()

hdr(mixed $header[, mixed $replace = null ]) : mixed
Parameters
$header : mixed
$replace : mixed = null

t()

Global translate function to translate into current language ISO.

t(string $key[, array<string|int, mixed> $args = null ]) : string
Parameters
$key : string
$args : array<string|int, mixed> = null

ten()

Global translate function to translate into english.

ten(string $key[, array<string|int, mixed> $args = null ]) : string
Parameters
$key : string
$args : array<string|int, mixed> = null
Tags
see
t()

tiso()

Global translate function to translate into an ISO language code.

tiso(string $iso, string $key[, array<string|int, mixed> $args = null ]) : string
Parameters
$iso : string
$key : string
$args : array<string|int, mixed> = null

tusr()

Global translate function to translate into a user's language.

tusr(GDO_User $user, string $key[, array<string|int, mixed> $args = null ]) : string
Parameters
$user : GDO_User
$key : string
$args : array<string|int, mixed> = null

tt()

Display a date value into current language iso.

tt([string $date = null ][, string $format = 'short' ][, string $default = '---' ]) : string
Parameters
$date : string = null

Date in DB format.

$format : string = 'short'

format key from trans file; e.g: 'short', 'long', 'date', 'exact'.

$default : string = '---'

the default string to display when date is null or invalid.

method()

method(mixed $moduleName, mixed $methodName) : Method
Parameters
$moduleName : mixed
$methodName : mixed
Tags
deprecated
  • Use GDO\Module\Method\Class::make() instead

mo()

Get requested module name.

mo() : string

me()

Get requested method name

me() : string

module_enabled()

Check if a module is enabled.

module_enabled(string $moduleName) : bool
Parameters
$moduleName : string

Search results