assign_by_ref

PHP Smarty

Smarty - the compiling PHP template engine
Prev 来源:PHP中文社区 Chapter 13. Methods Next

assign_by_ref
引用赋值

// passing name/value pairs
$smarty->assign_by_ref("Name",$myname);
$smarty->assign_by_ref("Address",$address);

Prev 来源:PHP中文社区 Home Next
assign
赋值
Up clear_all_assign
清除所有赋值