PHP完全自学手册(珍藏版) 中文pdf扫描版下载
thinkphp代码
public function cug_details(){//对应的每个工单信息的详细信息
public function cug_details(){//对应的每个工单信息的详细信息
$step=$this->_get('step');
$id=$this->_get('id');//得到工单id
$data['id']=$id;
$order_list=M('order_list');
$rs=$order_list->where($data)->select();
if($rs){
$this->assign("rs",$rs);
}
if($step){
$this->assign("step",$step);
}
$laiyuan = A("Fangwen");
$type = $laiyuan->order_source();
$this->assign("$type",$type);
$this->display();
}
转载请注明:谷谷点程序 » thinkphp中A方法的使用