<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>The Yaf_Route_Rewrite class</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="yaf-route-regex.route.html">Yaf_Route_Regex::route</a></div> <div class="next" style="text-align: right; float: right;"><a href="yaf-route-rewrite.construct.html">Yaf_Route_Rewrite::__construct</a></div> <div class="up"><a href="book.yaf.html">Yaf</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="class.yaf-route-rewrite" class="reference"> <h1 class="title">The Yaf_Route_Rewrite class</h1> <div class="partintro"><p class="verinfo">(Yaf >=1.0.0)</p> <div class="section" id="yaf-route-rewrite.intro"> <h2 class="title">Introduction</h2> <p class="para"> For usage, please see the example section of <span class="methodname"><a href="yaf-route-rewrite.construct.html" class="methodname">Yaf_Route_Rewrite::__construct()</a></span> </p> </div> <div class="section" id="yaf-route-rewrite.synopsis"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"></div> <div class="classsynopsisinfo"> <span class="ooclass"> <strong class="classname">Yaf_Route_Rewrite</strong> </span> <span class="ooclass"> <span class="modifier">extends</span> <a href="class.yaf-route-interface.html" class="classname">Yaf_Route_Interface</a> </span> <span class="oointerface">implements <span class="interfacename"><a href="class.yaf-route-interface.html" class="interfacename">Yaf_Route_Interface</a></span> </span> {</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Properties */</div> <div class="fieldsynopsis"> <span class="modifier">protected</span> <var class="varname"><a href="class.yaf-route-rewrite.html#yaf-route-rewrite.props.route">$<var class="varname">_route</var></a></var> ;</div> <div class="fieldsynopsis"> <span class="modifier">protected</span> <var class="varname"><a href="class.yaf-route-rewrite.html#yaf-route-rewrite.props.default">$<var class="varname">_default</var></a></var> ;</div> <div class="fieldsynopsis"> <span class="modifier">protected</span> <var class="varname"><a href="class.yaf-route-rewrite.html#yaf-route-rewrite.props.verify">$<var class="varname">_verify</var></a></var> ;</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><a href="yaf-route-rewrite.construct.html" class="methodname">__construct</a></span> ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$match</code></span> , <span class="methodparam"><span class="type">array</span> <code class="parameter">$route</code></span> [, <span class="methodparam"><span class="type">array</span> <code class="parameter">$verify</code></span> ] )</div> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="yaf-route-rewrite.route.html" class="methodname">route</a></span> ( <span class="methodparam"><span class="type"><a href="class.yaf-request-abstract.html" class="type Yaf_Request_Abstract">Yaf_Request_Abstract</a></span> <code class="parameter">$request</code></span> )</div> <div class="classsynopsisinfo classsynopsisinfo_comment">/* Inherited methods */</div> <div class="methodsynopsis dc-description"> <span class="modifier">abstract</span> <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="yaf-route-interface.route.html" class="methodname">Yaf_Route_Interface::route</a></span> ( <span class="methodparam"><span class="type"><a href="class.yaf-request-abstract.html" class="type Yaf_Request_Abstract">Yaf_Request_Abstract</a></span> <code class="parameter">$request</code></span> )</div> }</div> </div> <div class="section" id="yaf-route-rewrite.props"> <h2 class="title">Properties</h2> <dl> <dt id="yaf-route-rewrite.props.route"> <span class="term"><var class="varname"><var class="varname">_route</var></var></span> <dd> <p class="para"/> </dd> </dt> <dt id="yaf-route-rewrite.props.default"> <span class="term"><var class="varname"><var class="varname">_default</var></var></span> <dd> <p class="para"/> </dd> </dt> <dt id="yaf-route-rewrite.props.verify"> <span class="term"><var class="varname"><var class="varname">_verify</var></var></span> <dd> <p class="para"/> </dd> </dt> </dl> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="yaf-route-rewrite.construct.html">Yaf_Route_Rewrite::__construct</a> — Yaf_Route_Rewrite constructor</li><li><a href="yaf-route-rewrite.route.html">Yaf_Route_Rewrite::route</a> — The route purpose</li></ul> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="yaf-route-regex.route.html">Yaf_Route_Regex::route</a></div> <div class="next" style="text-align: right; float: right;"><a href="yaf-route-rewrite.construct.html">Yaf_Route_Rewrite::__construct</a></div> <div class="up"><a href="book.yaf.html">Yaf</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>