编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Yaf_Response_Abstract::__toString
  • Yaf_Route_Interface::assemble »
  • PHP Manual
  • Yaf
  • The Yaf_Route_Interface class

The Yaf_Route_Interface class

(Yaf >=1.0.0)

简介

Yaf_Route_Interface是Yaf路由协议的标准接口, 它的存在使得用户可以自定义路由协议

类摘要

Yaf_Route_Interface {
/* 方法 */
abstract public assemble ( array $info [, array $query ] ) : string
abstract public route ( Yaf_Request_Abstract $request ) : bool
}

Table of Contents

  • Yaf_Route_Interface::assemble — 将指定路由规则组合成一个url
  • Yaf_Route_Interface::route — route a request
相关文章
php yaf the yaf action abstract classphp yaf the yaf application classphp yaf the yaf exception startuperror classphp yaf the yaf exception typeerror classphp yaf the yaf exception classphp yaf the yaf route interface classphp yaf the yaf route map classphp yaf the yaf route regex classphp yaf the yaf route rewrite classphp yaf the yaf route simple classphp yaf the yaf route static classphp yaf the yaf route supervar classphp yaf the yaf router classphp yaf the yaf view interface classphp com 函数 print out a php class definition for a dispatchable interfacephp yaf route interface 将指定路由规则组合成一个urlphp yaf route interface route a requestphp yaf route regex the route purposephp yaf route rewrite 组合urlphp yaf route rewrite the construct purpose
关注编程学问公众号
编程学问网 湘ICP备20001732号