1
0
mirror of https://github.com/php/doc-es.git synced 2026-03-26 00:12:06 +01:00
Files
archived-doc-es/reference/phar/constants.xml
Pedro Antonio Gil Rodríguez 7656bccca8 Updated to the most recent version
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@323835 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-02 17:12:33 +00:00

213 lines
5.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: c1dc0919bfba0a89e163ece9bc58c54811a042c7 Maintainer: seros Status: ready -->
<!-- Reviewed: no -->
<appendix xml:id="phar.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
&extension.constants;
<table xml:id="phar.constants.compression">
<title>Constantes de compresión de Phar</title>
<tgroup cols="3">
<thead>
<row>
<entry>Constante</entry>
<entry>Valor</entry>
<entry>Descripción</entry>
</row>
</thead>
<tbody>
<row xml:id="phar.constants.none">
<entry>
<constant>Phar::NONE</constant>
(<type>integer</type>)
</entry>
<entry>0x00000000</entry>
<entry>sin compresión</entry>
</row>
<row xml:id="phar.constants.compressed">
<entry>
<constant>Phar::COMPRESSED</constant>
(<type>integer</type>)
</entry>
<entry>0x0000F000</entry>
<entry>máscara de bit que puede ser usada con banderas de fichero para determinar si está presente algún tipo de compresión</entry>
</row>
<row xml:id="phar.constants.gz">
<entry>
<constant>Phar::GZ</constant>
(<type>integer</type>)
</entry>
<entry>0x00001000</entry>
<entry>compression zlib (gzip)</entry>
</row>
<row xml:id="phar.constants.bz2">
<entry>
<constant>Phar::BZ2</constant>
(<type>integer</type>)
</entry>
<entry>0x00002000</entry>
<entry>compression bzip2</entry>
</row>
</tbody>
</tgroup>
</table>
<table xml:id="phar.constants.fileformat">
<title>Constanten de formato de fichero de Phar</title>
<tgroup cols="3">
<thead>
<row>
<entry>Constante</entry>
<entry>Valor</entry>
<entry>Descripción</entry>
</row>
</thead>
<tbody>
<row xml:id="phar.constants.same">
<entry>
<constant>Phar::SAME</constant>
(<type>integer</type>)
</entry>
<entry>0</entry>
<entry>conservar el mismo formato de fichero</entry>
</row>
<row xml:id="phar.constants.phar">
<entry>
<constant>Phar::PHAR</constant>
(<type>integer</type>)
</entry>
<entry>1</entry>
<entry>formato de fichero phar</entry>
</row>
<row xml:id="phar.constants.tar">
<entry>
<constant>Phar::TAR</constant>
(<type>integer</type>)
</entry>
<entry>2</entry>
<entry>formato de fichero tar</entry>
</row>
<row xml:id="phar.constants.zip">
<entry>
<constant>Phar::ZIP</constant>
(<type>integer</type>)
</entry>
<entry>3</entry>
<entry>formato de fichero zip</entry>
</row>
</tbody>
</tgroup>
</table>
<table xml:id="phar.constants.signature">
<title>Constantes de signatura de Phar</title>
<tgroup cols="3">
<thead>
<row>
<entry>Constante</entry>
<entry>Valor</entry>
<entry>Descripción</entry>
</row>
</thead>
<tbody>
<row xml:id="phar.constants.md5">
<entry>
<constant>Phar::MD5</constant>
(<type>integer</type>)
</entry>
<entry>0x0001</entry>
<entry>singnatura con el algoritmo hash md5</entry>
</row>
<row xml:id="phar.constants.sha1">
<entry>
<constant>Phar::SHA1</constant>
(<type>integer</type>)
</entry>
<entry>0x0002</entry>
<entry>singnatura con el algoritmo hash sha1</entry>
</row>
<row xml:id="phar.constants.sha256">
<entry>
<constant>Phar::SHA256</constant>
(<type>integer</type>)
</entry>
<entry>0x0003</entry>
<entry>singnatura con el algoritmo hash sha256 (requiere la extensión Hash)</entry>
</row>
<row xml:id="phar.constants.sha512">
<entry>
<constant>Phar::SHA512</constant>
(<type>integer</type>)
</entry>
<entry>0x0004</entry>
<entry>singnatura con el algoritmo hash sha512 (requiere la extensión Hash)</entry>
</row>
<row xml:id="phar.constants.openssl">
<entry>
<constant>Phar::OPENSSL</constant>
(<type>integer</type>)
</entry>
<entry>0x0010</entry>
<entry>signatura con la pareja de claves pública/privada de OpenSSL. Esta es una signatura
de clave asimétrica verdadera.</entry>
</row>
</tbody>
</tgroup>
</table>
<table xml:id="phar.constants.mimeoverride">
<title>Constantes de sobrescritura MIME de webPhar de Phar</title>
<tgroup cols="3">
<thead>
<row>
<entry>Constante</entry>
<entry>Valor</entry>
<entry>Descripción</entry>
</row>
</thead>
<tbody>
<row xml:id="phar.constants.php">
<entry>
<constant>Phar::PHP</constant>
(<type>integer</type>)
</entry>
<entry>1</entry>
<entry>usada para ordenar al parámetro de sobrescritura MIME
de <function>Phar::webPhar</function> que la extensión debería ser
analizada como un fichero de PHP</entry>
</row>
<row xml:id="phar.constants.phps">
<entry>
<constant>Phar::PHPS</constant>
(<type>integer</type>)
</entry>
<entry>2</entry>
<entry>usada para ordenar al parámetro de sobrescritura MIME
de <function>Phar::webPhar</function> que la extensión debería ser
analizada como un fichero fuente de PHP a través de <function>highlight_file</function></entry>
</row>
</tbody>
</tgroup>
</table>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->