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 563393a commit cc6adf6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Documentation/En/Index.xyl
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ var_dump(Hoa\Mime\Mime::getMimeFromExtension('webm'));
thanks to the <code>Hoa\Mime\Mime::extensionExists</code> method (still
static).</p>
<p>By default, <code>Hoa\Mime\Mime</code> will use the
<code>hoa://Library/Mime/Mime.types</code> file as a
<strong>database</strong>. We can specify <strong>another</strong> file by
using the <code>Hoa\Mime\Mime::compute</code> method:</p>
<a href="@central_resource:path=Library/Mime/Mime.types"><code>hoa://Library/Mime/Mime.types</code></a>
file as a <strong>database</strong>. We can specify <strong>another</strong>
file by using the <code>Hoa\Mime\Mime::compute</code> method:</p>
<pre><code class="language-php">Hoa\Mime\Mime::compute('/etc/mime.types');</code></pre>
<p>Every informations provided by the <code>Hoa\Mime\Mime</code> class are
computed from this file. Consequently, it will be better to execute this
Expand Down
7 changes: 4 additions & 3 deletions Documentation/Fr/Index.xyl
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,10 @@ var_dump(Hoa\Mime\Mime::getMimeFromExtension('webm'));
<code>Mime.types</code> grâce à la méthode (toujours statique)
<code>Hoa\Mime\Mime::extensionExists</code>.</p>
<p>Par défaut, <code>Hoa\Mime\Mime</code> va utiliser le fichier
<code>hoa://Library/Mime/Mime.types</code> comme <strong>base de
données</strong>. Nous pouvons lui préciser un <strong>autre</strong> fichier
en utilisant la méthode <code>Hoa\Mime\Mime::compute</code> :</p>
<a href="@central_resource:path=Library/Mime/Mime.types"><code>hoa://Library/Mime/Mime.types</code></a>
comme <strong>base de données</strong>. Nous pouvons lui préciser un
<strong>autre</strong> fichier en utilisant la méthode
<code>Hoa\Mime\Mime::compute</code> :</p>
<pre><code class="language-php">Hoa\Mime\Mime::compute('/etc/mime.types');</code></pre>
<p>Toutes les informations fournies par la classe <code>Hoa\Mime\Mime</code> sont
calculées à partir de ce fichier. Il est donc préférable d'exécuter cette
Expand Down

0 comments on commit cc6adf6

Please sign in to comment.