git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332587 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Xinchen Hui 2014-01-10 06:41:32 +00:00
parent f3ac8a5844
commit 7e8654541a

View file

@ -62,10 +62,6 @@ var_dump($router->getRoute('static')->assemble(
':c' => 'yafcontroller',
':m' => 'yafmodule'
),
array(
'tkey1' => 'tval1',
'tkey2' => 'tval2'
)
)
);
@ -77,18 +73,19 @@ var_dump($router->getRoute('static')->assemble(
':m' => 'yafmodule'
),
array(
1 => 2,
array(),
'tkey1' => 'tval1',
'tkey2' => 'tval2'
)
)
);
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
string(%d) "/yafmodule/yafcontroller/yafaction?tkey1=tval1&tkey2=tval2"
string(%d) "/yafmodule/yafcontroller/yafaction"
string(%d) "/yafmodule/yafcontroller/yafaction?tkey1=tval1&tkey2=tval2"
]]>
</screen>
</example>