php-doc-en/reference/rar/functions/rar-getversion.xml
Antony Dovgal a8e5f35d21 convert all filenames to lowercase
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169434 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-28 12:23:52 +00:00

58 lines
1.4 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<refentry id="function.Rar-getVersion">
<refnamediv>
<refname>Rar::getVersion</refname>
<refpurpose>Get version of the archiver used to add the entry</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>Rar::getVersion</methodname>
<void/>
</methodsynopsis>
<para>
Get version of the archiver used to add the archive entry.
</para>
<example>
<title><function>Rar::getVersion</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$rar_file = rar_open('example.rar') or die("Failed to open Rar archive");
$entry = rar_entry_get($rar_file, 'Dir/file.txt') or die("Failed to find such entry");
echo "Rar (WinRAR) version used: " . $entry->getVersion();
?>
]]>
</programlisting>
</example>
<para>
<function>Rar::getVersion</function> returns &false; on error.
</para>
</refsect1>
</refentry>
<!-- 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:"../../../../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
-->