Yaf_View_Simple::assign

Yaf_View_Simple::assign

(Yaf >=1.0.0)

Yaf_View_Simple::assignAssign values

Description

public bool Yaf_View_Simple::assign ( string $name [, mixed $value ] )

assign variable to view engine

Parameters

name

A string or an array.

if is string, then the next argument $value is required.

value

mixed value