TP框架中模板赋值

TP框架中模板赋值

$this->assign('name',$value);

$this->name = $value;

// 两种写法是等效的

原文地址:https://www.cnblogs.com/lovebing/p/6723716.html