SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class TwigView

Renderer for twig engine

Variables

NameVisibilityDescription
$EXTENSION (static) 
$kohana_filename 
$kohana_global_data (static) 
$kohana_local_data 
$kohana_template_name 
$loader (static) 
$twig (static) 

Functions

NameVisibilityDescription
__constructpublic 
__getpublicMagically gets a view variable.
__issetpublicMagic method access to test for view property
__setpublicMagically sets a view variable.
__toStringpublicMagically converts view object to string.
bindpublicSets a bound variable by reference.
createpublic (static)Create a view as appropriate for the 'sprout.skin_view_types' config.
isPropertySetpublicChecks for a property existence in the view locally or globally. Unlike the built in __isset(),
renderpublic 
setpublicSets a view variable.
setFilenamepublicSets the view filename.
setGlobalpublic (static)Sets a view global variable.
stringpublic (static)Shorthand load and render a view.

public __construct

void $TwigView->__construct ( mixed $name , array $data );

This function does not have a description

public __get (from View)

mixed|void $View->__get ( string &$key );

Magically gets a view variable.

public __isset (from View)

boolean $View->__isset ( [ string $key ] );

Magic method access to test for view property

public __set (from View)

void $View->__set ( string $key , string $value );

Magically sets a view variable.

public __toString (from View)

string $View->__toString ( );

Magically converts view object to string.

public bind (from View)

object $View->bind ( string $name , mixed &$var );

Sets a bound variable by reference.

public create (from View)

View View::create ( string $name , array $data );

Create a view as appropriate for the 'sprout.skin_view_types' config.

public isPropertySet (from View)

array|boolean $View->isPropertySet ( [ string $key ] );

Checks for a property existence in the view locally or globally. Unlike the built in __isset(),
this method can take an array of properties to test simultaneously.

public render

unknown $TwigView->render ( [ mixed $print [, mixed $renderer ]] );

This function does not have a description

public set (from View)

object $View->set ( string|array $name [, mixed $value ] );

Sets a view variable.

public setFilename (from View)

object $View->setFilename ( string $name );

Sets the view filename.

public setGlobal (from View)

void View::setGlobal ( string|array $name [, mixed $value ] );

Sets a view global variable.

public string (from View)

string View::string ( string $name , array $data );

Shorthand load and render a view.