cvs: phpdoc-sk /reference/bzip2 configure.xml reference.xml
[email protected] ("Joseph Drake")
| Newsgroups | php.doc.sk |
|---|---|
| Message-ID | <cvsjoseph1045872733@cvsserver> |
joseph Fri Feb 21 19:12:13 2003 EDT
Added files:
/phpdoc-sk/reference/bzip2 configure.xml reference.xml
Log:
bzip2 stuff
Index: phpdoc-sk/reference/bzip2/configure.xml
+++ phpdoc-sk/reference/bzip2/configure.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.4 Maintainer: joseph Status: ready -->
<section id="bzip2.installation">
&reftitle.install;
<para>
Podpora Bzip2 nie je v <literal>PHP</literal> nastavená ako východzia.
Pri kompilovaní PHP budete musie» pou¾i» kofiguraènú voµbu
<option role="configure">--with-bz2[=DIR]</option>,
aby ste tak povolili podporu bzip2.
</para>
</section>
<!-- 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
-->
Index: phpdoc-sk/reference/bzip2/reference.xml
+++ phpdoc-sk/reference/bzip2/reference.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.4 Maintainer: joseph Status: ready -->
<reference id="ref.bzip2">
<title>Bzip2 kompresné funkcie</title>
<titleabbrev>Bzip2</titleabbrev>
<partintro>
<section id="bzip2.intro">
&reftitle.intro;
<para>
bzip2 funkcie sa pou¾ívajú na transparentné èítanie a zápis
kompresovaných súborov bzip2 (.bz2).
</para>
</section>
<section id="bzip2.requirements">
&reftitle.required;
<para>
Tento modul pou¾íva funkcie kni¾nice <ulink url="&url.bzip2;">bzip2
</ulink> napísanú Julianom Sewardom. Tento modul vy¾aduje bzip2/libbzip2
verziu >= 1.0.x.
</para>
</section>
&reference.bzip2.configure;
<section id="bzip2.configuration">
&reftitle.runtime;
&no.config;
</section>
<section id="bzip2.resources">
&reftitle.resources;
<para>
Toto roz¹írenie definuje jeden zdrojový typ: pointer súboru identifikujúci
súbor bz2, na ktorom sa má pracova».
</para>
</section>
<section id="bzip2.constants">
&reftitle.constants;
&no.constants;
</section>
<section id="bzip2.examples">
&reftitle.examples;
<para>
Tento príklad otvára doèasný súbor a zapisuje do neho testovací re»azec,
potom vypí¹e obsahu súboru.
</para>
<example>
<title>Malý bzip2 príklad</title>
<programlisting role="php">
<![CDATA[
<?php
$filename = "/tmp/testfile.bz2";
$str = "Toto je testovaci retazec.\n";
// otvorit subor na zapis
$bz = bzopen($filename, "w");
// zapisat retazec do suboru
bzwrite($bz, $str);
// zatvorit subor
bzclose($bz);
// otvorit subor na citanie
$bz = bzopen($filename, "r");
// precitat 10 znakov
print bzread($bz, 10);
// precitat cely obsah suboru (alebo dalsi 1024 znak) a zavriet ho.
print bzread($bz);
bzclose($bz);
?>
]]>
</programlisting>
</example>
</section>
</partintro>
&reference.bzip2.functions;
</reference>
<!-- 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
-->