Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Add links around hoa://.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Sep 26, 2014
1 parent 8466f74 commit bc13787
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Documentation/En/Index.xyl
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,8 @@ var_dump($rl->readLine('> '));</code></pre>
Each value computed by the iterator must be an object of type
<a href="http://php.net/splfileinfo"><code>SplFileInfo</code></a>. Thus, to
auto-complete all the files and directories from the
<code>hoa://Library/Console/</code> root, we will write:</p>
<a href="@central_resource:path=Library/Console/"><code>hoa://Library/Console/</code></a>
root, we will write:</p>
<pre><code class="language-php">$rl->setAutocompleter(
new Hoa\Console\Readline\Autocompleter\Path(
resolve('hoa://Library/Console/')
Expand Down Expand Up @@ -1037,7 +1038,8 @@ NULL</code></pre>
possible to go further by using a <strong>dispatcher</strong>: writing
commands in several functions or classes and call them regarding the given
options and inputs to our program. We recommend to read the source code of
<code>hoa://Library/Core/Bin/Hoa.php</code> to help yourself, along with the
<a href="@central_resource:path=Library/Core/Bin/Hoa.php"><code>hoa://Library/Core/Bin/Hoa.php</code></a>
to help yourself, along with the
<a href="@lh:chapter=Router"><code>Hoa\Router</code></a> and
<a href="@lh:chapter=Dispatcher"><code>Hoa\Dispatcher</code></a> chapters. We
propose a quick example without giving too much details about those
Expand Down
8 changes: 5 additions & 3 deletions Documentation/Fr/Index.xyl
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,8 @@ var_dump($rl->readLine('> '));</code></pre>
Chaque valeur calculée par l'itérateur doit être un objet de type
<a href="http://php.net/splfileinfo"><code>SplFileInfo</code></a>. Ainsi, pour
auto-compléter tous les fichiers et dossiers à partir de la racine
<code>hoa://Library/Console/</code>, nous écrirons :</p>
<a href="@central_resource:path=Library/Console/"><code>hoa://Library/Console/</code></a>,
nous écrirons :</p>
<pre><code class="language-php">$rl->setAutocompleter(
new Hoa\Console\Readline\Autocompleter\Path(
resolve('hoa://Library/Console/')
Expand Down Expand Up @@ -1092,8 +1093,9 @@ NULL</code></pre>
<strong>dispatcheur</strong> : écrire des commandes dans plusieurs fonctions
ou classes et les appeler en fonction des options et entrées données à notre
programme. Nous vous conseillons de regarder le code source de
<code>hoa://Library/Core/Bin/Hoa.php</code> pour vous aider, ainsi que les
chapitres de <a href="@lh:chapter=Router"><code>Hoa\Router</code></a> et
<a href="@central_resource:path=Library/Core/Bin/Hoa.php"><code>hoa://Library/Core/Bin/Hoa.php</code></a>
pour vous aider, ainsi que les chapitres de
<a href="@lh:chapter=Router"><code>Hoa\Router</code></a> et
<a href="@lh:chapter=Dispatcher"><code>Hoa\Dispatcher</code></a>. Nous
proposons un exemple rapide sans donner trop de détails sur les bibliothèques
précédement citées.</p>
Expand Down

0 comments on commit bc13787

Please sign in to comment.