class vB_Template_Runtime

Traits

Properties

static $units

Methods

__sleep()

No description

__wakeup()

No description

static 
date($timestamp, $format = 'r', $doyestoday = 0, $adjust = 1)

No description

static 
time($timestamp)

No description

static string
datetime($timestamp, $format = 'date, time', $formatdate = '', $formattime = '')

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static 
escapeJS($javascript)

No description

static 
numberFormat($number, $decimals = 0)

No description

static 
urlEncode($text)

No description

static 
parsePhrase($phraseName)

No description

static 
addStyleVar($name, $value, $datatype = 'string')

No description

static 
fetchStyleVar($stylevar)

No description

static 
fetchCustomStylevar($stylevar, $user = false)

No description

static 
runMaths($str)

No description

static 
linkBuild($type, $info = array(), $extra = array(), $primaryid = null, $primarytitle = null)

No description

static array
parseData()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
parseAction()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
includeTemplate(string $templateName, array $arguments = array())

Includes a template

static string
parseJSON()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
includeCss()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
includeCssFile()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
includeSpriteFile($filename)

Returns the full path/URL to the sprite file. This is implemented in the core runtime implementation because CSS is rendered (via css.php) in core. There is currently no implementation in the frontend runtime class.

static string
includeJs()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
includeHeadLink()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
doRedirect()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
buildUrlAdmincpTemp()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
buildUrl()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
hook($hook)

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static 
vBVar($value)

No description

static string
parseDataWithErrors()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
parseSchema($schemaInfo = array())

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
debugExit()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

static string
debugTimer(string $timerName)

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Details

in vB_Trait_NoSerialize at line 15
__sleep()

in vB_Trait_NoSerialize at line 20
__wakeup()

at line 35
static date($timestamp, $format = 'r', $doyestoday = 0, $adjust = 1)

Parameters

$timestamp
$format
$doyestoday
$adjust

at line 44
static time($timestamp)

Parameters

$timestamp

at line 59
static string datetime($timestamp, $format = 'date, time', $formatdate = '', $formattime = '')

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Parameters

$timestamp
$format
$formatdate
$formattime

Return Value

string

at line 64
static escapeJS($javascript)

Parameters

$javascript

at line 69
static numberFormat($number, $decimals = 0)

Parameters

$number
$decimals

at line 74
static urlEncode($text)

Parameters

$text

at line 79
static parsePhrase($phraseName)

Parameters

$phraseName

at line 103
static addStyleVar($name, $value, $datatype = 'string')

Parameters

$name
$value
$datatype

at line 862
static fetchStyleVar($stylevar)

Parameters

$stylevar

at line 875
static fetchCustomStylevar($stylevar, $user = false)

Parameters

$stylevar
$user

at line 891
static runMaths($str)

Parameters

$str

at line 961
static linkBuild($type, $info = array(), $extra = array(), $primaryid = null, $primarytitle = null)

Parameters

$type
$info
$extra
$primaryid
$primarytitle

at line 990
static array parseData()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

array

at line 1003
static string parseAction()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1020
static string includeTemplate(string $templateName, array $arguments = array())

Includes a template

This includeTemplate functionality is mainly included since CSS is rendered in core and we use template includes in CSS files. Otherwise this would use the presentation layer implementation.

Parameters

string $templateName Template to include
array $arguments Any number items which are the name/value pairs to pass to the template as variables.

Return Value

string Rendered template

at line 1038
static string parseJSON()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1049
static string includeCss()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1060
static string includeCssFile()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1074
static string includeSpriteFile($filename)

Returns the full path/URL to the sprite file. This is implemented in the core runtime implementation because CSS is rendered (via css.php) in core. There is currently no implementation in the frontend runtime class.

Parameters

$filename

Return Value

string Sprite URL

at line 1138
static string includeJs()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1160
static string doRedirect()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1171
static string buildUrlAdmincpTemp()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1182
static string buildUrl()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1193
static string hook($hook)

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Parameters

$hook

Return Value

string

at line 1198
static vBVar($value)

Parameters

$value

at line 1208
static string parseDataWithErrors()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1218
static string parseSchema($schemaInfo = array())

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Parameters

$schemaInfo

Return Value

string

at line 1229
static string debugExit()

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Return Value

string

at line 1240
static string debugTimer(string $timerName)

This method is defined just to avoid errors while saving the template. The real implementation is in the presentation layer.

Parameters

string $timerName timer name

Return Value

string