controllertemplate

Extends \basetemplate

Controller Template Wrapper

package

Subsystems-Forms

subpackage

Template

Methods

__construct

__construct( $item_type,  $item_dir,  $view = "Default") 
inherited

Arguments

$item_type

$item_dir

$view

Assign a variable to the template.

assign(string $var, mixed $val) 
inherited

Arguments

$var

string

The name of the variable - how it will be referenced inside the Smarty code

$val

mixed

The value of the variable.

Render the template and echo it to the screen.

output() 
inherited

register_permissions

register_permissions( $perms,  $locs) 
inherited

Arguments

$perms

$locs

Render the template and return the result to the caller.

render() : boolean|mixed|string
inherited
Throws
\Exception

Response

boolean|mixed|string

Properties

tpl

tpl : 
inherited

Type(s)

module

module : 
inherited

Type(s)

viewfile

viewfile : 
inherited

Type(s)

view

view : 
inherited

Type(s)

viewdir

viewdir : 
inherited

Type(s)