CoreFunction
Table of Contents
- baseUrl() : string
- Add server name to url query.
- isValidProtocol() : bool
- Validating a protocol.
- pvpListSleepers() : string
- Render a count of sleepers for zone.
- pvpListTable() : string
- Render a PvP table list.
- sessionCookieName() : string
- Get cookie name.
- triggerEvent() : mixed
- Activate a hook.
- varDump() : string
- Dump var and return a string.
Methods
baseUrl()
Add server name to url query.
public
baseUrl(string $query) : string
Parameters
- $query : string
Return values
string —isValidProtocol()
Validating a protocol.
public
isValidProtocol(mixed $url) : bool
Parameters
- $url : mixed
Return values
bool —pvpListSleepers()
Render a count of sleepers for zone.
public
pvpListSleepers(Environment $env, array<string|int, mixed> $params) : string
Parameters
- $env : Environment
- $params : array<string|int, mixed>
Return values
string —pvpListTable()
Render a PvP table list.
public
pvpListTable(Environment $env, array<string|int, mixed> $params) : string
Parameters
- $env : Environment
- $params : array<string|int, mixed>
Return values
string —sessionCookieName()
Get cookie name.
public
sessionCookieName() : string
Return values
string —triggerEvent()
Activate a hook.
public
triggerEvent(string $name[, array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $name : string
- $data : array<string|int, mixed> = []
Return values
mixed —varDump()
Dump var and return a string.
public
varDump(mixed $var) : string
Parameters
- $var : mixed