首页 > yaf 怎么接收路由参数?

yaf 怎么接收路由参数?

/.../list?id=12 怎么获取到id=12


$controller->getQuery('id');

Yaf_Registry::get() 多看手册registry


【热门文章】
【热门文章】