<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.streamwrapper.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'streamwrapper.stream-metadata.php',
    1 => 'streamWrapper::stream_metadata',
    2 => 'Change les metadata du flux',
  ),
  'up' => 
  array (
    0 => 'class.streamwrapper.php',
    1 => 'streamWrapper',
  ),
  'prev' => 
  array (
    0 => 'streamwrapper.stream-lock.php',
    1 => 'streamWrapper::stream_lock',
  ),
  'next' => 
  array (
    0 => 'streamwrapper.stream-open.php',
    1 => 'streamWrapper::stream_open',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/stream/streamwrapper/stream-metadata.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="streamwrapper.stream-metadata" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">streamWrapper::stream_metadata</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.4.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">streamWrapper::stream_metadata</span> &mdash; <span class="dc-title">Change les metadata du flux</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-streamwrapper.stream-metadata-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>streamWrapper::stream_metadata</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$path</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$option</code></span>, <span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Cette méthode est appelée pour changer les métadonnées du flux. Elle est invoquée lorsque l&#039;une des fonctions suivantes est
   appelée sur un flux:
   <ul class="simplelist">
    <li><span class="function"><a href="function.touch.php" class="function">touch()</a></span></li>
    <li><span class="function"><a href="function.chmod.php" class="function">chmod()</a></span></li>
    <li><span class="function"><a href="function.chown.php" class="function">chown()</a></span></li>
    <li><span class="function"><a href="function.chgrp.php" class="function">chgrp()</a></span></li>
   </ul>
   Veuillez noter que certaines de ces opérations peuvent ne pas être disponibles sur le système.
  </p>
 </div>

 
 <div class="refsect1 parameters" id="refsect1-streamwrapper.stream-metadata-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">path</code></dt>
     <dd>
      <p class="para">
       Le chemin du fichier ou l&#039;URL pour laquelle changer les métadonnées. Il est à noter que dans le cas d&#039;une URL,
       elle doit utiliser le délimiteur ://, les autres formes d&#039;URL ne sont pas supportées.
      </p>
     </dd>
    
    
     <dt><code class="parameter">option</code></dt>
     <dd>
      <p class="para">
       A choisir parmi :
       <ul class="simplelist">
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-touch">STREAM_META_TOUCH</a></code></strong> (La méthode a été appelée suite à <span class="function"><a href="function.touch.php" class="function">touch()</a></span>)</li>
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-owner-name">STREAM_META_OWNER_NAME</a></code></strong> (La méthode a été appelée suite à <span class="function"><a href="function.chown.php" class="function">chown()</a></span> avec un paramètre de type chaîne)</li>
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-owner">STREAM_META_OWNER</a></code></strong> (La méthode a été appelée suite à <span class="function"><a href="function.chown.php" class="function">chown()</a></span>)</li>
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-group-name">STREAM_META_GROUP_NAME</a></code></strong> (La méthode a été appelée suite à <span class="function"><a href="function.chgrp.php" class="function">chgrp()</a></span>)</li>
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-group">STREAM_META_GROUP</a></code></strong> (La méthode a été appelée suite à <span class="function"><a href="function.chgrp.php" class="function">chgrp()</a></span>)</li>
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-access">STREAM_META_ACCESS</a></code></strong> (La méthode a été appelée suite à <span class="function"><a href="function.chmod.php" class="function">chmod()</a></span>)</li>
       </ul>
      </p>
     </dd>
    
    
     <dt><code class="parameter">value</code></dt>
     <dd>
      <p class="para">
       Si <code class="parameter">option</code> est
       <ul class="simplelist">
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-touch">STREAM_META_TOUCH</a></code></strong> : <span class="type"><a href="language.types.array.php" class="type Array">Array</a></span> consistant en deux arguments de la fonction <span class="function"><a href="function.touch.php" class="function">touch()</a></span>.</li>
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-owner-name">STREAM_META_OWNER_NAME</a></code></strong> ou <strong><code><a href="stream.constants.php#constant.stream-meta-group-name">STREAM_META_GROUP_NAME</a></code></strong>: 
         Le nom du propriétaire user/group sous forme de <span class="type"><a href="language.types.string.php" class="type string">string</a></span>.</li>
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-owner">STREAM_META_OWNER</a></code></strong> ou <strong><code><a href="stream.constants.php#constant.stream-meta-group">STREAM_META_GROUP</a></code></strong>: 
         La valeur du propriétaire user/group sous forme <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>.</li>
        <li><strong><code><a href="stream.constants.php#constant.stream-meta-access">STREAM_META_ACCESS</a></code></strong> : L'argument de <span class="function"><a href="function.chmod.php" class="function">chmod()</a></span> sous forme <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>.</li>
       </ul>
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-streamwrapper.stream-metadata-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Cette fonction retourne <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> en cas de succès ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une erreur survient.
   Si <code class="parameter">option</code> n&#039;est pas implémentée, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> devrait être retourné.
  </p>
 </div>

 
 
 
 <div class="refsect1 seealso" id="refsect1-streamwrapper.stream-metadata-seealso">
  <h3 class="title">Voir aussi</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.touch.php" class="function" rel="rdfs-seeAlso">touch()</a> - Modifie la date de modification et de dernier acc&egrave;s d'un fichier</span></li>
    <li><span class="function"><a href="function.chmod.php" class="function" rel="rdfs-seeAlso">chmod()</a> - Change le mode du fichier</span></li>
    <li><span class="function"><a href="function.chown.php" class="function" rel="rdfs-seeAlso">chown()</a> - Change le propri&eacute;taire du fichier</span></li>
    <li><span class="function"><a href="function.chgrp.php" class="function" rel="rdfs-seeAlso">chgrp()</a> - Change le groupe d'un fichier</span></li>
   </ul>
  </p>
 </div>

 
</div><?php manual_footer($setup); ?>