编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 exception dispatchfailed classphp yaf the yaf exception loadfailed action classphp yaf the yaf exception loadfailed controller classphp yaf the yaf request simple classphp yaf the yaf response abstract 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 view interface classphp yaf route interface 将指定路由规则组合成一个urlphp yaf route interface route a requestphp yaf route map 组合urlphp yaf route static the match purposephp yaf route static route a requestphp yaf route supervar 组合urlphp yaf view interface 为视图引擎分配一个模板变量
关注编程学问公众号
编程学问网 湘ICP备20001732号