编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Yaf_Route_Interface
  • Yaf_Route_Interface::route »
  • PHP Manual
  • Yaf_Route_Interface
  • 将指定路由规则组合成一个url

Yaf_Route_Interface::assemble

(Yaf >=2.3.0)

Yaf_Route_Interface::assemble — 将指定路由规则组合成一个url

说明

abstract public Yaf_Route_Interface::assemble ( array $info [, array $query ] ) : string

这个方法会将指定的参数加上自定义的参数组合成一个url

所有route必须结合其路由规则来实现这个方法

参数

info

query

返回值

相关文章
php yaf the yaf route interface classphp yaf the yaf route supervar classphp yaf the yaf view interface classphp yaf dispatcher 设置路由的默认动作php yaf dispatcher 设置路由的默认控制器php yaf route interface 将指定路由规则组合成一个urlphp yaf route interface route a requestphp yaf route map 组合urlphp yaf route regex 组合urlphp yaf route regex the route purposephp yaf route rewrite 组合urlphp yaf route rewrite the construct purposephp yaf route rewrite the route purposephp yaf route simple 组合urlphp yaf route simple yaf route simple constructorphp yaf route simple route a requestphp yaf route static 组合urlphp yaf route supervar 组合urlphp yaf router 取得当前有效的路由名php yaf router the route purpose
关注编程学问公众号
编程学问网 湘ICP备20001732号