aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-01-05 17:11:06 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-01-05 17:11:25 +0100
commitaee139e28a1766a08dd4e41ae3d8ca1b710d6e13 (patch)
tree64395f2ecdd4cb81ff9e43abf2df2eeca35b241b
parent3170b668e81f5f6b17f419d3c2cc8475b0118830 (diff)
downloadRouter-aee139e28a1766a08dd4e41ae3d8ca1b710d6e13.zip
Router-aee139e28a1766a08dd4e41ae3d8ca1b710d6e13.tar.gz
Router-aee139e28a1766a08dd4e41ae3d8ca1b710d6e13.tar.bz2
Update documentation.
-rw-r--r--Documentation/Fr/Index.xyl16
1 files changed, 12 insertions, 4 deletions
diff --git a/Documentation/Fr/Index.xyl b/Documentation/Fr/Index.xyl
index 47fbe2f..dba735c 100644
--- a/Documentation/Fr/Index.xyl
+++ b/Documentation/Fr/Index.xyl
@@ -149,6 +149,8 @@ print_r($router->getTheRule());
* [5] =>
* [6] => Array
* (
+ * [_uri] => hello
+ * [_method] => get
* [_domain] =>
* [_subdomain] =>
* [_call] =>
@@ -215,10 +217,12 @@ print_r($theRule[$router::RULE_VARIABLES]);
* Will output:
* Array
* (
- * [_domain] =>
- * [_subdomain] =>
- * [_call] =>
- * [_able] =>
+ * [_uri] => hello_gordon
+ * [_method] => get
+ * [_domain] =>
+ * [_subdomain] =>
+ * [_call] =>
+ * [_able] =>
* [_request] => Array
* (
* )
@@ -373,6 +377,8 @@ var_dump($router->unroute('h', array('who' => 'alyx')));
<code>HEAD</code> et <code>OPTIONS</code>. Les <strong>variables</strong>
réservées pour la méthode <code>Hoa\Router\Http::route</code> sont :</p>
<ul>
+ <li><code>_uri</code>, l'<strong>adresse</strong> ;</li>
+ <li><code>_method</code>, la <strong>méthode</strong> HTTP ;</li>
<li><code>_domain</code>, le <strong>domaine</strong> (de la forme
<code>domain.tld</code>) ;</li>
<li><code>_subdomain</code>, le <strong>sous-domaine</strong> (que nous
@@ -504,6 +510,8 @@ print_r($router->getTheRule());
* [5] =>
* [6] => Array
* (
+ * [_uri] => gordon.domain.tld/Project/Space-biker.html
+ * [_method] => get
* [_domain] => gordon.domain.tld
* [_subdomain] => gordon
* [_call] =>