Assign value to View engine

# Yaf_View_Interface::assign

(Yaf >=1.0.0)

Yaf_View_Interface::assign — Assign value to View engine

### Description

abstract public Yaf_View_Interface::assign(string `$name`, string `$value` = ?): bool

Assigan values to View engine, then the value can access directly by name in template.

Warning

This function is currently not documented; only its argument list is available.

### Parameters

`name`

`value`

### Return Values

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open