\app\framework\Component\ViewView

Summary

Methods
Properties
Constants
__construct()
render()
No public properties found
No constants found
No protected methods found
$view
$data
$path
N/A
assignData()
validateViewName()
getPathFromConfig()
$TemplateEngine
N/A

Properties

$view

$view : string

The name of the view.

Type

string

$data

$data : array

The array of view data.

Type

array

$path

$path : string

The path to the view file.

Type

string

$TemplateEngine

$TemplateEngine : 

An fucking instance of the goddamn templateEngine

Type

Methods

__construct()

__construct(  $view = null,   $data = array()) 

Parameters

$view
$data

render()

render() : string

Get the string contents of the view.

Returns

string

assignData()

assignData(  $data) 

Parameters

$data

validateViewName()

validateViewName(  $view) 

Parameters

$view

getPathFromConfig()

getPathFromConfig(  $config) 

Parameters

$config