class CTemplate


Located at : UKNOWVA_ROOT/components/com_community/libraries/template.php

Templating system for JomSocial

Properties

$vars
$_internalView

Methods

__construct($file = null)

Constructor

view($type = null)

No description

set($name, $value)

Set a template variable.

setRef($name, $value)

Set a template variable by reference

fetch($file = null)

Open, parse, and return the template file.

load($file)

No description

countModules($condition)

Alias to $document->countModules function

getTemplateParams()

No description

getTemplateEnvironment()

No description

addStylesheet($file)

No description

addScript($file)

No description

renderModules($position, $attribs = array())

No description

escape($text)

No description

mobileTemplate()

No description

static 
getPoweredByLink()

No description

quote($str)

Replace all QQQ to " Language file now uses new QQQ to maintain Joomla 1.6 compatibility

setMetaTags($app, $data)

No description

object_to_array($obj)

No description

Details

at line 66
__construct($file = null)

Constructor

Parameters

$file string the file name you want to load

at line 88
view($type = null)

Parameters

$type

at line 104
set($name, $value)

Set a template variable.

Parameters

$name
$value

at line 115
setRef($name, $value)

Set a template variable by reference

Parameters

$name
$value

at line 128
fetch($file = null)

Open, parse, and return the template file.

Parameters

$file string the template file name

at line 185
load($file)

Parameters

$file

at line 204
countModules($condition)

Alias to $document->countModules function

Parameters

$condition

at line 210
getTemplateParams()

at line 238
getTemplateEnvironment()

at line 252
addStylesheet($file)

Parameters

$file

at line 260
addScript($file)

Parameters

$file

at line 271
renderModules($position, $attribs = array())

Parameters

$position
$attribs

at line 293
escape($text)

Parameters

$text

at line 299
mobileTemplate()

at line 322
quote($str)

Replace all QQQ to " Language file now uses new QQQ to maintain Joomla 1.6 compatibility

Parameters

$str

at line 328
setMetaTags($app, $data)

Parameters

$app
$data

at line 370
object_to_array($obj)

Parameters

$obj