(PECL yaf >=1.0.0)
Yaf_View_Simple::__set — Set value to engine
This is a easier way to instead of Yaf_View_Simple::assign().
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
name
A string value name.
value
Mixed value.
例1 Yaf_View_Simple::__set()example
<?php
class IndexController extends Yaf_Controller_Abstract {
public function indexAction() {
$this->getView()->foo = "bar"; // same as assign("foo", "bar");
}
?>