<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.ziparchive.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'ziparchive.setexternalattributesindex.php',
    1 => 'ZipArchive::setExternalAttributesIndex',
    2 => 'インデックスで定義されたエントリの外部属性を設定する',
  ),
  'up' => 
  array (
    0 => 'class.ziparchive.php',
    1 => 'ZipArchive',
  ),
  'prev' => 
  array (
    0 => 'ziparchive.setencryptionname.php',
    1 => 'ZipArchive::setEncryptionName',
  ),
  'next' => 
  array (
    0 => 'ziparchive.setexternalattributesname.php',
    1 => 'ZipArchive::setExternalAttributesName',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/zip/ziparchive/setexternalattributesindex.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ziparchive.setexternalattributesindex" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ZipArchive::setExternalAttributesIndex</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.6.0, PHP 7, PHP 8, PECL zip &gt;= 1.12.4)</p><p class="refpurpose"><span class="refname">ZipArchive::setExternalAttributesIndex</span> &mdash; <span class="dc-title">インデックスで定義されたエントリの外部属性を設定する</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-ziparchive.setexternalattributesindex-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>ZipArchive::setExternalAttributesIndex</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$index</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$opsys</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$attr</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flags</code><span class="initializer"> = 0</span></span><br>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   インデックスで定義されたエントリの外部属性を設定します。
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-ziparchive.setexternalattributesindex-parameters">
  <h3 class="title">パラメータ</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">index</code></dt>
     <dd>
      <p class="para">
       エントリのインデックス
      </p>
     </dd>
    
    
     <dt><code class="parameter">opsys</code></dt>
     <dd>
      <p class="para">
       ZipArchive::OPSYS_ 定数のうちのひとつで定義された、
       オペレーティングシステムコード
      </p>
     </dd>
    
    
     <dt><code class="parameter">attr</code></dt>
     <dd>
      <p class="para">
       外部属性。
       値はオペレーティングシステム依存です。
      </p>
     </dd>
    
    
     <dt><code class="parameter">flags</code></dt>
     <dd>
      <p class="para">
       オプションのフラグ。現在は使われていません。
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-ziparchive.setexternalattributesindex-returnvalues">
  <h3 class="title">戻り値</h3>
  <p class="para">
   成功した場合に <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> を、失敗した場合に <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> を返します。
  </p>
 </div>

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