luk Wed Nov 21 09:37:20 2001 EDT
Modified files:
/phpdoc/cs/functions com.xml dir.xml exec.xml filesystem.xml
Log:
Index: phpdoc/cs/functions/com.xml
diff -u phpdoc/cs/functions/com.xml:1.5 phpdoc/cs/functions/com.xml:1.6
--- phpdoc/cs/functions/com.xml:1.5 Sat Nov 10 16:49:20 2001
+++ phpdoc/cs/functions/com.xml Wed Nov 21 09:37:20 2001
@@ -5,8 +5,8 @@
<partintro>
<simpara>
- Tyto funkce jsou dostupn� pouze ve Windows verzi PHP. Tyto funkce byly
- p�id�ny v PHP 4.
+ Tyto funkce jsou dostupn� pouze ve Windows verzi PHP. Byly p�id�ny
+ v PHP 4.
</simpara>
</partintro>
@@ -14,7 +14,7 @@
<refnamediv>
<refname>com_load</refname>
<refpurpose>
- Creates a new reference to a COM component
+ Vytvo�� nov� odkaz na COM komponentu
</refpurpose>
</refnamediv>
<refsect1>
@@ -53,7 +53,7 @@
<paramdef>string <parameter>function_name</parameter></paramdef>
<paramdef>mixed
<parameter>
- <optional>function parameters, ...</optional>
+ <optional>parametry funkce, ...</optional>
</parameter>
</paramdef>
</funcprototype>
Index: phpdoc/cs/functions/dir.xml
diff -u phpdoc/cs/functions/dir.xml:1.6 phpdoc/cs/functions/dir.xml:1.7
--- phpdoc/cs/functions/dir.xml:1.6 Sat Nov 10 16:49:20 2001
+++ phpdoc/cs/functions/dir.xml Wed Nov 21 09:37:20 2001
@@ -153,8 +153,9 @@
</example>
</para>
<para>
- V�imn�te si, �e <function>readdir</function> vr�� tak� . a
- .. polo�ky. Pokud je nechcete, m��ete je snadno vynechat:
+ V�imn�te si, �e <function>readdir</function> vrac� tak� . a
+ .. polo�ky (odkaz na sebe sama a na nad�azen� adres��. Pokud je nechcete,
+ m��ete je snadno vynechat:
<example>
<title>
Vypi� v�echny soubory v adres��i a vynech . a ..
@@ -178,7 +179,7 @@
<refentry id="function.rewinddir">
<refnamediv>
<refname>rewinddir</refname>
- <refpurpose>rewind directory handle</refpurpose>
+ <refpurpose>n�vrat na za��tek adres��e</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -189,9 +190,8 @@
</funcprototype>
</funcsynopsis>
<para>
- Resets the directory stream indicated by
- <parameter>dir_handle</parameter> to the beginning of the
- directory.
+ Vrac� adres��ov� proud odkazovan� deskriptorem
+ <parameter>dir_handle</parameter> na za��tek adres��e.
</para>
</refsect1>
Index: phpdoc/cs/functions/exec.xml
diff -u phpdoc/cs/functions/exec.xml:1.5 phpdoc/cs/functions/exec.xml:1.6
--- phpdoc/cs/functions/exec.xml:1.5 Sat Nov 10 16:49:20 2001
+++ phpdoc/cs/functions/exec.xml Wed Nov 21 09:37:20 2001
@@ -6,7 +6,7 @@
<refentry id="function.escapeshellarg">
<refnamediv>
<refname>escapeshellarg</refname>
- <refpurpose>escape a string to be used as a shell argument</refpurpose>
+ <refpurpose>ouvozovkov�n� �et�zce pro pou�it� jako argument shellu</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
Index: phpdoc/cs/functions/filesystem.xml
diff -u phpdoc/cs/functions/filesystem.xml:1.6 phpdoc/cs/functions/filesystem.xml:1.7
--- phpdoc/cs/functions/filesystem.xml:1.6 Sat Nov 10 16:49:20 2001
+++ phpdoc/cs/functions/filesystem.xml Wed Nov 21 09:37:20 2001
@@ -6,7 +6,7 @@
<refentry id="function.basename">
<refnamediv>
<refname>basename</refname>
- <refpurpose>Vr�tit ��st cesty obsahuj�c� n�zev souboru</refpurpose>
+ <refpurpose>Vr�t� ��st cesty obsahuj�c� n�zev souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -20,7 +20,7 @@
P�ij�m� �et�zec obsahuj�c� cestu na soubor, vrac� n�zev souboru.
</para>
<para>
- Na Windows, se jako odd�lova� cesty d� pou��t jak lom�tko
+ Na Windows se jako odd�lova� cesty d� pou��t jak lom�tko
(<literal>/</literal>), tak zp�tn� lom�tko (<literal>\</literal>).
V ostatn�ch prost�ed�ch je to norm�ln� lom�tko (<literal>/</literal>).
</para>
@@ -42,7 +42,7 @@
<refentry id="function.chgrp">
<refnamediv>
<refname>chgrp</refname>
- <refpurpose>Zm�nit skupinou souboru</refpurpose>
+ <refpurpose>Zm�nit skupinu souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -121,7 +121,7 @@
<refentry id="function.chown">
<refnamediv>
<refname>chown</refname>
- <refpurpose>Zm�nit majitele souboru</refpurpose>
+ <refpurpose>Zm�n� vlastn�ka souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -165,8 +165,8 @@
</funcsynopsis>
<para>
Vol�n� syst�mov�ch funkc� <systemitem>stat</systemitem> �i
- <systemitem>lstat</systemitem> m� docela velkou re�ii. Tud�� se v�sledek
- posledn�ho vol�n� v�ech status funkc� (viz seznam n��e) ukl�d� pro pou�it�
+ <systemitem>lstat</systemitem> m� pom�rn� velkou re�ii. Tud�� se v�sledek
+ posledn�ho vol�n� v�ech stavov�ch funkc� (viz seznam n��e) ukl�d� pro pou�it�
p�i dal��m takov�m vol�n� pou��vaj�c�m stejn� n�zev souboru. Pokud chcete
vynutit novou kontrolu stavu, nap�. pokud je soubor kontrolov�n mnohokr�t
a m��e se zm�nit nebo zmizet, pou�ijte tuto funkci k uvoln�n� v�sledk�
@@ -202,7 +202,7 @@
<refentry id="function.copy">
<refnamediv>
<refname>copy</refname>
- <refpurpose>Zkop�rovat soubor</refpurpose>
+ <refpurpose>Zkop�ruje soubor</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -295,7 +295,7 @@
<refentry id="function.diskfreespace">
<refnamediv>
<refname>diskfreespace</refname>
- <refpurpose>Vr�tit diskov� prostor dostupn� v adres��i</refpurpose>
+ <refpurpose>Vr�t� diskov� prostor dostupn� v adres��i</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -324,7 +324,7 @@
<refentry id="function.fclose">
<refnamediv>
<refname>fclose</refname>
- <refpurpose>Zav��t otev�en� deskriptor souboru</refpurpose>
+ <refpurpose>Zav�e otev�en� deskriptor souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -352,7 +352,7 @@
<refentry id="function.feof">
<refnamediv>
<refname>feof</refname>
- <refpurpose>Tests for end-of-file on a file pointer</refpurpose>
+ <refpurpose>Test na konec souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -363,13 +363,13 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns &true; if the file pointer is at EOF or an error occurs;
- otherwise returns &false;.
+ Vrac� &true;, pokud je konec souboru (EOF) nebo nastala chyba,
+ jinak &false;.
</para>
<para>
- The file pointer must be valid, and must point to a file
- successfully opened by <function>fopen</function>,
- <function>popen</function>, or <function>fsockopen</function>.
+ Deskriptor souboru mus� b�t platn� a mus� ukazovat na soubor �sp�n�
+ otev�en� pomoc� <function>fopen</function>,
+ <function>popen</function>, nebo <function>fsockopen</function>.
</para>
</refsect1>
</refentry>
@@ -377,7 +377,7 @@
<refentry id="function.fflush">
<refnamediv>
<refname>fflush</refname>
- <refpurpose>Flushes the output to a file</refpurpose>
+ <refpurpose>Zap��e obsah v�stupn�ho bufferu</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -388,15 +388,14 @@
</funcprototype>
</funcsynopsis>
<para>
- This function forces a write of all buffered output to the
- to the resource pointed to by the file handle
- <parameter>fp</parameter>. Returns &true; if succesful, &false;
- otherwise.
+ Funkce vynut� okam�it� z�pis ve�ker�ch dat ulo�en�ch ve v�stupn�m bufferu
+ do souboru odkazovan�ho pomoc� deskriptoru
+ <parameter>fp</parameter>. Vrac� &true; p�i �sp�chu, jinak &false;.
</para>
<para>
- The file pointer must be valid, and must point to a file
- successfully opened by <function>fopen</function>,
- <function>popen</function>, or <function>fsockopen</function>.
+ Deskriptor souboru mus� b�t platn� a mus� ukazovat na soubor �sp�n�
+ otev�en� pomoc� <function>fopen</function>,
+ <function>popen</function>, nebo <function>fsockopen</function>.
</para>
</refsect1>
</refentry>
@@ -404,7 +403,7 @@
<refentry id="function.fgetc">
<refnamediv>
<refname>fgetc</refname>
- <refpurpose>Gets character from file pointer</refpurpose>
+ <refpurpose>Na�te 1 znak ze souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -415,17 +414,18 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns a string containing a single character read from the
- file pointed to by fp. Returns &false; on EOF.
+ Vr�t� �et�zec obsahuj�c� jedin� znak p�e�ten� ze souboru odkazovan�ho
+ pomoc� deskriptoru <parameter>fp</parameter>.
+ Je-li konec souboru (EOF), vrac� &false;.
</para>
<para>
- The file pointer must be valid, and must point to a file
- successfully opened by <function>fopen</function>,
- <function>popen</function>, or <function>fsockopen</function>.
+ Deskriptor souboru mus� b�t platn� a mus� ukazovat na soubor �sp�n�
+ otev�en� pomoc� <function>fopen</function>,
+ <function>popen</function>, nebo <function>fsockopen</function>.
</para>
<para>
Viz tak� <function>fread</function>, <function>fopen</function>,
- <function>popen</function>, <function>fsockopen</function>, and
+ <function>popen</function>, <function>fsockopen</function>, a
<function>fgets</function>.
</para>
</refsect1>
@@ -435,7 +435,7 @@
<refnamediv>
<refname>fgetcsv</refname>
<refpurpose>
- Gets line from file pointer and parse for CSV fields
+ Na�te ��dek ze souboru a parsuje ho na CSV hodnoty
</refpurpose>
</refnamediv>
<refsect1>
@@ -453,34 +453,33 @@
</funcprototype>
</funcsynopsis>
<simpara>
- Similar to <function>fgets</function> except that
- <function>fgetcsv</function> parses the line it reads for fields
- in <acronym>CSV</acronym> format and returns an array containing
- the fields read. The field delimiter is a comma, unless you
- specify another delimiter with the optional third parameter.
+ Podobn� jako <function>fgets</function> s v�jimkou toho. �e
+ <function>fgetcsv</function> parsuje p�e�ten� ��dek podle
+ <acronym>CSV</acronym> form�tu a vrac� pole obsahuj�c�
+ z�skan� hodnoty. Odd�lova�em je ��rka, pokud nespecifikujete
+ jin� odd�lova� jako nepovinn� t�et� parametr.
</simpara>
<simpara>
- <parameter>Fp</parameter> must be a valid file pointer to a file
- successfully opened by <function>fopen</function>,
- <function>popen</function>, or <function>fsockopen</function>
+ <parameter>Fp</parameter> mus� b�t platn� deskriptor souboru
+ �sp�n� otev�en�ho pomoc� <function>fopen</function>,
+ <function>popen</function>, nebo <function>fsockopen</function>
</simpara>
<simpara>
- Length must be greater than the longest line to be found in the
- CSV file (allowing for trailing line-end characters).
+ D�lka <parameter>length</parameter> mus� b�t v�t�� ne� nejdel��
+ ��dek, vyskytuj�c� se v souboru (nepo��taje v to znak konce ��dku).
</simpara>
<simpara>
- <function>fgetcsv</function> returns &false; on error, including
- end of file.
+ <function>fgetcsv</function> vrac� &false; p�i chyb� v�etn� konce
+ souboru (EOF).
</simpara>
<simpara>
- N.B. A blank line in a CSV file will be returned as an array
- comprising a single &null; field, and will not be treated as an
- error.
+ N.B. Pr�zdn� ��dek v CSV souboru bude vr�cen jako pole s jedin�m
+ &null; polem, ani� by to bylo vyhodnoceno jako chyba.
</simpara>
<example>
<title>
- <function>fgetcsv</function> example - Read and print entire
- contents of a CSV file
+ <function>fgetcsv</function> p��klad - �ten� a tisk cel�ho
+ CVS souboru
</title>
<programlisting role="php">
$row = 1;
@@ -502,7 +501,7 @@
<refentry id="function.fgets">
<refnamediv>
<refname>fgets</refname>
- <refpurpose>Gets line from file pointer</refpurpose>
+ <refpurpose>P�e�te ��dek ze souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -514,31 +513,30 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns a string of up to length - 1 bytes read from the file
- pointed to by fp. Reading ends when length - 1 bytes have been
- read, on a newline (which is included in the return value), or on
- EOF (whichever comes first).
+ Vrac� ��dek o d�lce max. <parameter>length</parameter> - 1 byte
+ p�e�ten� ze souboru. �ten� kon��, pokud bylo p�e�teno
+ <parameter>length</parameter> - 1 byt�, nastal konec ��dku
+ nebo konec souboru (podle toho, co p�ijde prvn�).
</para>
<para>
- If an error occurs, returns &false;.
+ P�i v�skytu chyby vrac� &false;.
</para>
<para>
- Common Pitfalls:
+ Nej�ast�j�� �skal�:
</para>
<simpara>
- People used to the 'C' semantics of fgets should note the
- difference in how EOF is returned.
+ Lid�, kte�� pou��vali 'C' s�mantiku funkce fgets, by si m�li
+ uv�domit rozd�l v tom, jak je vr�cen konec souboru.
</simpara>
<simpara>
- The file pointer must be valid, and must point to a file
- successfully opened by <function>fopen</function>,
- <function>popen</function>, or
- <function>fsockopen</function>.
+ Deskriptor souboru mus� b�t platn� a mus� ukazovat na soubor �sp�n�
+ otev�en� pomoc� <function>fopen</function>,
+ <function>popen</function>, nebo <function>fsockopen</function>.
</simpara>
<para>
- A simple example follows:
+ Jednoduch� p��klad:
<example>
- <title>Reading a file line by line</title>
+ <title>�ten� souboru ��dek po ��dku</title>
<programlisting role="php">
$fd = fopen ("/tmp/inputfile.txt", "r");
while (!feof ($fd)) {
@@ -552,7 +550,7 @@
<para>
Viz tak� <function>fread</function>, <function>fopen</function>,
<function>popen</function>, <function>fgetc</function>,
- <function>fsockopen</function>, and
+ <function>fsockopen</function>, a
<function>socket_set_timeout</function>.
</para>
</refsect1>
@@ -562,7 +560,7 @@
<refnamediv>
<refname>fgetss</refname>
<refpurpose>
- Gets line from file pointer and strip HTML tags
+ P�e�te ��dek ze souboru a odstran� HTML zna�ky
</refpurpose>
</refnamediv>
<refsect1>
@@ -580,23 +578,22 @@
</funcprototype>
</funcsynopsis>
<para>
- Identical to <function>fgets</function>, except that fgetss
- attempts to strip any HTML and PHP tags from the text it
- reads.
+ Identick� s <function>fgets</function>, ale jsou zde
+ z p�e�ten�ho textu odstra�ov�ny HTML a PHP zna�ky.
</para>
<para>
- You can use the optional third parameter to specify tags which
- should not be stripped.
+ Jako nepovinn� t�et� parametr m��ete specifikovat zna�ky, kter�
+ nebudou odstra�ov�ny.
<note>
<para>
- <parameter>allowable_tags</parameter> was added in PHP 3.0.13,
+ <parameter>allowable_tags</parameter> - p�id�no v PHP 3.0.13,
PHP4B3.
</para>
</note>
</para>
<para>
Viz tak� <function>fgets</function>, <function>fopen</function>,
- <function>fsockopen</function>, <function>popen</function>, and
+ <function>fsockopen</function>, <function>popen</function>, a
<function>strip_tags</function>.
</para>
</refsect1>
@@ -605,7 +602,7 @@
<refentry id="function.file">
<refnamediv>
<refname>file</refname>
- <refpurpose>Reads entire file into an array</refpurpose>
+ <refpurpose>Na�te cel� soubor do pole</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -619,27 +616,26 @@
</funcprototype>
</funcsynopsis>
<para>
- Identical to <function>readfile</function>, except that
- <function>file</function> returns the file in an array. Each
- element of the array corresponds to a line in the file, with the
- newline still attached.
+ Identick� s <function>readfile</function>, soubor je v�ak
+ vr�cen v podob� pole. Ka�d� element pole odpov�d� jednomu
+ ��dku v souboru v�etn� znaku konce ��dku.
</para>
<para>
- You can use the optional second parameter and set it to "1", if
- you want to search for the file in the <link
- linkend="ini.include-path">include_path</link>, too.
+ M��ete pou��t nepovinn� druh� parametr a nastavit ho na "1",
+ pokud chcete hledat soubor tak� v
+ <link linkend="ini.include-path">include_path</link>.
</para>
<para>
<informalexample>
<programlisting role="php">
<?php
-// get a web page into an array and print it out
+// na�ti WWW str�nku do pole a vytiskni ji
$fcontents = file ('http://www.php.net');
while (list ($line_num, $line) = each ($fcontents)) {
echo "<b>Line $line_num:</b> " . htmlspecialchars ($line) .
"<br>\n";
}
-// get a web page into a string
+// na�ti WWW str�nku do �et�zce
$fcontents = join ('', file ('http://www.php.net'));
?>
</programlisting>
@@ -647,7 +643,7 @@
</para>
<para>
Viz tak� <function>readfile</function>,
- <function>fopen</function>, <function>fsockopen</function>, and
+ <function>fopen</function>, <function>fsockopen</function>, a
<function>popen</function>.
</para>
</refsect1>
@@ -657,7 +653,7 @@
<refentry id="function.file-exists">
<refnamediv>
<refname>file_exists</refname>
- <refpurpose>Checks whether a file exists</refpurpose>
+ <refpurpose>Zjist�, zda soubor existuje</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -668,17 +664,16 @@
</funcprototype>
</funcsynopsis>
<simpara>
- Returns &true; if the file specified by
- <parameter>filename</parameter> exists; &false; otherwise.
+ Vrac� &true;, pokud soubor specifikovan� pomoc�
+ <parameter>filename</parameter> existuje, jinak &false;.
</simpara>
<simpara>
- <function>file_exists</function> will not work on remote files;
- the file to be examined must be accessible via the server's
- filesystem.
+ <function>file_exists</function> nefunguje na vzd�len�ch souborech;
+ soubor k ov��en� mus� b�t p��stupn� prost�ednictv�m filesyst�mu serveru.
</simpara>
<simpara>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</simpara>
</refsect1>
</refentry>
@@ -687,7 +682,7 @@
<refentry id="function.fileatime">
<refnamediv>
<refname>fileatime</refname>
- <refpurpose>Gets last access time of file</refpurpose>
+ <refpurpose>Vrac� �as posledn�ho p��stupu k souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -698,22 +693,21 @@
</funcprototype>
</funcsynopsis>
<simpara>
- Returns the time the file was last accessed, or &false; in case of
- an error. The time is returned as a Unix timestamp.
+ Vrac� �as posledn�ho p��stupu k souboru, p�i chyb� &false;.
+ �as je vr�cen jako Unix timestamp.
</simpara>
<simpara>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</simpara>
<simpara>
- Note: The atime of a file is supposed to change whenever
- the data blocks of a file are being read. This can be
- costly performancewise when an appliation regularly
- accesses a very large number of files or directories. Some
- Unix filesystems can be mounted with atime updates disabled
- to increase the performance of such applications; USENET
- news spools are a common example. On such filesystems
- this function will be useless.
+ Pozn.: Atime (�as posl. p��stupu) souboru se obvykle
+ m�n� p�i �ten� datov�ch blok� ze souboru. To se m��e zna�n�
+ negativn� projevit na v�konu syst�mu, pokud aplikace p�istupuje
+ k velk�mu po�tu soubor� nebo adres���. N�kter� Unixov�
+ filesyst�my mohou m�t atime deaktivov�n za ��elem zv��en�
+ v�konu pro takov� aplikace; takov�m p��padem jsou USENET news
+ spools. Tehdy je tato funkce bezp�edm�tn�.
</simpara>
</refsect1>
</refentry>
@@ -721,7 +715,7 @@
<refentry id="function.filectime">
<refnamediv>
<refname>filectime</refname>
- <refpurpose>Gets inode change time of file</refpurpose>
+ <refpurpose>Vrac� �as zm�ny inodu souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -732,25 +726,28 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the time the file was last changed, or &false; in case of
- an error. The time is returned as a Unix timestamp.
+ Vrac� �as posledn� zm�ny inodu souboru, p�i chyb� &false;. �as je
+ vracen
+ jako Unix timestamp.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</para>
- <para>Note: In most Unix filesystem, a file is considered
- changed, when it's Inode data is changed, that is, when
- the permissions, the owner, the group or other metadata
- from the Inode is written to. Viz tak�
- <function>filemtime</function> (this is what you want to use
- when you want to create "Last Modified" footers on web pages) and
+ <para>
+ Pozn.: Na v�t�in� unixov�ch filesyst�m� plat�,
+ �e soubor je pova�ov�n za zm�n�n�, pokud jsou zm�n�na
+ data v Inodu, tj. p��stupov� pr�va, vlastn�k, skupina
+ nebo jin� metadata jsou zaps�na do Inodu.
+ <function>filemtime</function> (toto je to, co chcete pou��t,
+ kdy� chcete vytvo�it �daj "Posledn� zm�na" na WWW str�nce) a
<function>fileatime</function>.
</para>
- <para>Note: In some Unix texts the ctime of a file is being
- referred to as the creation time of the file. This is wrong.
- There is no creation time for Unix files in most Unix
- filesystems.
+ <para>
+ Pozn.: Na n�kter�ch Unixech je ctime pova�ov�n za �as
+ vytvo�en� souboru. To je chyba. Na v�t�in� unixov�ch
+ filesyst�m� neexistuje ��dn� �as vytvo�en� unixov�ch
+ soubor�.
</para>
</refsect1>
</refentry>
@@ -758,7 +755,7 @@
<refentry id="function.filegroup">
<refnamediv>
<refname>filegroup</refname>
- <refpurpose>Gets file group</refpurpose>
+ <refpurpose>Vrac� skupinu pro soubor</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -769,13 +766,13 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the group ID of the owner of the file, or &false; in case
- of an error. The group ID is returned in numerical format, use
- <function>posix_getgrgid</function> to resolve it to a group name.
+ Vrac� ID skupiny vlastn�ka souboru, p�i chyb� &false;.
+ Skupinov� ID je v ��seln�m tvaru, pou�ijte
+ <function>posix_getgrgid</function> pro z�sk�n� n�zvu skupiny.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</para>
<note>
<simpara>
@@ -788,7 +785,7 @@
<refentry id="function.fileinode">
<refnamediv>
<refname>fileinode</refname>
- <refpurpose>Gets file inode</refpurpose>
+ <refpurpose>Vrac� inode souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -799,11 +796,11 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the inode number of the file, or &false; in case of an
- error.</para>
+ Vrac� inode ��slo souboru, p�i chyb� &false;.
+ </para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</para>
<note>
<simpara>
@@ -816,7 +813,7 @@
<refentry id="function.filemtime">
<refnamediv>
<refname>filemtime</refname>
- <refpurpose>Gets file modification time</refpurpose>
+ <refpurpose>Vrac� �as zm�ny souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -827,18 +824,19 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the time the file was last modified, or &false; in case of
- an error. The time is returned as a Unix timestamp.
+ Vrac� �as posledn� zm�ny souboru, p�i chyb� &false;.
+ �as je vracen jako Unix timestamp.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</para>
- <para>Note: This function returns the time when the data
- blocks of a file were being written to, that is, the time
- when the content of the file was changed. Use
- <function>date</function> on the result of this function
- to get a printable modification date for use in page footers.
+ <para>
+ Tato funkce vrac� �as, kdy byly zaps�ny datov� bloky,
+ tj. �as posledn� zm�ny obsahu souboru. Pou�ijte funkci
+ <function>date</function> na v�sledek t�to funkce k
+ z�sk�n� form�tovan�ho tvaru data pro pou�it� na WWW
+ str�nk�ch.
</para>
</refsect1>
</refentry>
@@ -846,7 +844,7 @@
<refentry id="function.fileowner">
<refnamediv>
<refname>fileowner</refname>
- <refpurpose>Gets file owner</refpurpose>
+ <refpurpose>Vrac� vlastn�ka souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -857,13 +855,13 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the user ID of the owner of the file, or &false; in case of
- an error. The user ID is returned in numerical format, use
- <function>posix_getpwuid</function> to resolve it to a username.
+ Vrac� ID u�ivatele (UID), vlastn�c�ho soubor; p�i chyb� &false;.
+ Hodnota je v ��seln�m tvaru, pou�ijte funkci
+ <function>posix_getpwuid</function> k z�sk�n� u�ivatelsk�ho jm�na.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</para>
<note>
<simpara>
@@ -876,7 +874,7 @@
<refentry id="function.fileperms">
<refnamediv>
<refname>fileperms</refname>
- <refpurpose>Gets file permissions</refpurpose>
+ <refpurpose>Vrac� p��stupov� pr�va k souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -887,11 +885,11 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the permissions on the file, or &false; in case of an error.
+ Vrac� p��stupov� pr�va (permissions) k souboru, p�i chyb� &false;.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</para>
</refsect1>
</refentry>
@@ -899,7 +897,7 @@
<refentry id="function.filesize">
<refnamediv>
<refname>filesize</refname>
- <refpurpose>Gets file size</refpurpose>
+ <refpurpose>Vrac� velikost souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -910,11 +908,11 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the size of the file, or &false; in case of an error.
+ Vrac� velikost souboru, p�i chyb� &false;.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</para>
</refsect1>
</refentry>
@@ -922,7 +920,7 @@
<refentry id="function.filetype">
<refnamediv>
<refname>filetype</refname>
- <refpurpose>Gets file type</refpurpose>
+ <refpurpose>Vrac� typ souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -933,13 +931,15 @@
</funcprototype>
</funcsynopsis>
<para>
- Returns the type of the file. Possible values are fifo, char,
- dir, block, link, file, and unknown.</para> <para> Returns &false;
- if an error occurs.
+ Vrac� typ souboru. Mo�n� hodnoty jsou fifo, char, dir, block, link,
+ file a unknown.
+ </para>
+ <para>
+ P�i chyb� vrac� &false;.
</para>
<para>
- The results of this function are cached. See
- <function>clearstatcache</function> for more details.
+ V�sledek t�to funkce je cachov�n. V�ce informac� - viz
+ <function>clearstatcache</function>.
</para>
</refsect1>
</refentry>
@@ -947,7 +947,8 @@
<refentry id="function.flock">
<refnamediv>
<refname>flock</refname>
- <refpurpose>Portable advisory file locking</refpurpose>
+ <refpurpose>Jednotn� "portable advisory" zamyk�n�
+ souboru</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -964,66 +965,64 @@
</funcprototype>
</funcsynopsis>
<simpara>
- PHP supports a portable way of locking complete files in an
- advisory way (which means all accessing programs have to use the
- same way of locking or it will not work).
+ PHP podporuje "portable" zp�sob zamyk�n� cel�ch soubor� na z�klad�
+ jednotn�ho "advisory" principu (tzn. v�echny p�istupuj�c� programy
+ mus� pou��vat tent�� syst�m zamyk�n�, jinak to nebude fungovat).
</simpara>
<simpara>
- <function>flock</function> operates on <parameter>fp</parameter>
- which must be an open file
- pointer. <parameter>operation</parameter> is one of the following
- values:
+ <function>flock</function> funguje na deskriptoru
+ <parameter>fp</parameter>, kter� mus� pat�it otev�en�mu souboru.
+ <parameter>operation</parameter> je jedna z n�sleduj�c�ch hodnot:
</simpara>
<para>
<itemizedlist>
<listitem>
<simpara>
- To acquire a shared lock (reader), set
- <parameter>operation</parameter> to LOCK_SH (set to 1 prior to
+ K z�sk�n� sd�len�ho (shared) z�mku (�ten�) nastavte
+ <parameter>operation</parameter> na LOCK_SH (resp. 1 u verz� do
PHP 4.0.1).
</simpara>
</listitem>
<listitem>
<simpara>
- To acquire an exclusive lock (writer), set
- <parameter>operation</parameter> to LOCK_EX (set to 2 prior to
+ K z�sk�n� v�hradn�ho z�mku (z�pis) nastavte
+ <parameter>operation</parameter> na LOCK_EX (resp. 2 u verz� do
PHP 4.0.1).
</simpara>
</listitem>
<listitem>
<simpara>
- To release a lock (shared or exclusive), set
- <parameter>operation</parameter> to LOCK_UN (set to 3 prior to
+ K uvoln�n� z�mku (sd�len�ho nebo v�hradn�ho) nastavte
+ <parameter>operation</parameter> na LOCK_UN (resp. 3 u verz� do
PHP 4.0.1).
</simpara>
</listitem>
<listitem>
<simpara>
- If you don't want <function>flock</function> to block while
- locking, add LOCK_NB (4 prior to PHP 4.0.1) to
- <parameter>operation</parameter>.
+ Pokud nechcete, aby funkce <function>flock</function> blokovala
+ b�hem zamyk�n�, p�idejte k <parameter>operation</parameter>
+ hodnotu LOCK_NB (4 pro verze do PHP 4.0.1).
</simpara>
</listitem>
</itemizedlist>
</para>
<simpara>
- <function>flock</function> allows you to perform a simple
- reader/writer model which can be used on virtually every platform
- (including most Unices and even Windows). The optional 3rd
- argument is set to &true; if the lock would block (EWOULDBLOCK
- errno condition)
+ <function>flock</function> umo�nuje jednoduch� model �ten�/z�pis
+ pou�iteln� teoreticky na v�ech platform�ch (v�etn� v�t�iny
+ Unix� a nejsp�� i Windows). Nepovinn� t�et� argument se nastav� na
+ &true;, pokud by z�mek m�l blokovat (EWOULDBLOCK errno podm�nka).
</simpara>
<simpara>
- <function>flock</function> returns &true; on success and &false; on
- error (e.g. when a lock could not be acquired).
+ <function>flock</function> vrac� &true; p�i �sp�chu, &false; p�i
+ chyb� (nap�. kdy� nelze vytvo�it z�mek).
</simpara>
<warning>
<para>
- On most operation systems <function>flock</function> is implemented
- at the process level. When using a multithreaded server API like
- ISAPI you cannot rely on <function>flock</function> to protect
- files against other PHP scripts running in parallel threads of the
- same server instance!
+ Na v�t�in� opera�n�ch syst�m� je funkce <function>flock</function>
+ implementov�na na �rovni proces�. P�i pou�it� multithreadov�ho
+ serverov�ho API (jako je ISAPI) nem��ete spol�hat na ochranu
+ soubor� proti jin�m PHP skript�m b��c�m v paraleln�ch vl�knech
+ stejn� instance serveru!
</para>
</warning>
</refsect1>
@@ -1032,7 +1031,7 @@
<refentry id="function.fopen">
<refnamediv>
<refname>fopen</refname>
- <refpurpose>Opens file or URL</refpurpose>
+ <refpurpose>Otev�e soubor nebo URL</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -1049,92 +1048,91 @@
</funcprototype>
</funcsynopsis>
<simpara>
- If <parameter>filename</parameter> begins with "http://" (not
- case sensitive), an HTTP 1.0 connection is opened to the
- specified server and a file pointer is returned to the beginning
- of the text of the response. A 'Host:' header is sent with the
- request in order to handle name-based virtual hosts.
+ Jestli�e <parameter>filename</parameter> za��n� "http://"
+ (velk�mi nebo mal�mi p�smeny), je otev�eno spojen� na
+ p��slu�n� server protokolem HTTP 1.0 a je vr�cen deskriptor
+ ukazuj�c� na za��tek t�la dokumentu. Pos�l� se hlavi�ka
+ 'Host:' pro p��stup k virtu�ln�m server�m zalo�en�m na
+ jm�n�.
</simpara>
<simpara>
- Does not handle HTTP redirects, so you must include trailing
- slashes on directories.
+ Nezpracov�v� HTTP p�esm�rov�n�, je t�eba vlo�it koncov�
+ lom�tko za n�zev adres��e.
</simpara>
- <simpara>
- If <parameter>filename</parameter> begins with "ftp://" (not case
- sensitive), an ftp connection to the specified server is opened
- and a pointer to the requested file is returned. If the server
- does not support passive mode ftp, this will fail. You can open
- files for either reading or writing via ftp (but not both
- simultaneously).
+ <simpara>
+ Kdy� <parameter>filename</parameter> za��n� "ftp://" (velk�
+ �i mal� p�smena), je otev�ena FTP relace na p��slu�n� server
+ a vr�cen deskriptor na po�adovan� soubor. Pokud server
+ nepodporuje pasivn� re�im FTP komunikace, sel�e to. M��ete
+ p�es FTP otv�rat soubory pro �ten� i z�pis, ale ne pro oboj�
+ najednou.
</simpara>
<simpara>
- If <parameter>filename</parameter> is one of "php://stdin",
- "php://stdout", or "php://stderr", the corresponding stdio
- stream will be opened. (This was introduced in PHP 3.0.13;
- in earlier versions, a filename such as "/dev/stdin" or
- "/dev/fd/0" must be used to access the stdio streams.)
+ Kdy� <parameter>filename</parameter> je bu� "php://stdin",
+ "php://stdout", nebo "php://stderr", bude otev�en standardn�
+ vstup/v�stup (stdio). (To plat� od verze PHP 3.0.13;
+ v d��v�j��ch verz�ch se mus� pou��t n�zvy jako "/dev/stdin"
+ nebo "/dev/fd/0".)
</simpara>
<simpara>
- If <parameter>filename</parameter> begins with anything else, the
- file will be opened from the filesystem, and a file pointer to
- the file opened is returned.
+ Kdy� <parameter>filename</parameter> za��n� ��mkoli jin�m,
+ bude otev�en oby�ejn� soubor (z filesyst�mu) a vr�cen
+ jeho deskriptor.
</simpara>
<simpara>
- If the open fails, the function returns &false;.
+ Pokud otv�r�n� sel�e, funkce vr�t� &false;.
</simpara>
<para>
- <parameter>mode</parameter> may be any of the following:
+ <parameter>mode</parameter> m��e b�t kter�koli z t�chto:
<itemizedlist>
<listitem>
<simpara>
- 'r' - Open for reading only; place the file pointer at the
- beginning of the file.
+ 'r' - Otev��t pouze pro �ten�; nastav� ukazatel na za��tek
+ souboru.
</simpara>
</listitem>
<listitem>
<simpara>
- 'r+' - Open for reading and writing; place the file pointer at
- the beginning of the file.
+ 'r+' - Otev��t pro �ten� a z�pis; nastav� ukazatel na za��tek
+ souboru.
</simpara>
</listitem>
<listitem>
<simpara>
- 'w' - Open for writing only; place the file pointer at the
- beginning of the file and truncate the file to zero length.
- If the file does not exist, attempt to create it.
+ 'w' - Otev��t pouze pro z�pis; nastav� ukazatel na za��tek
+ souboru a zkr�t� soubor na nulovou d�lku. Pokud soubor
+ neexistuje, pokus� se ho vytvo�it.
</simpara>
</listitem>
<listitem>
<simpara>
- 'w+' - Open for reading and writing; place the file pointer at
- the beginning of the file and truncate the file to zero
- length. If the file does not exist, attempt to create it.
+ 'w+' - Otev��t pro �ten� a z�pis; nastav� ukazatel na za��tek
+ souboru a zkr�t� soubor na nulovou d�lku. Pokud soubor
+ neexistuje, pokus� se ho vytvo�it.
</simpara>
</listitem>
<listitem>
<simpara>
- 'a' - Open for writing only; place the file pointer at the end
- of the file. If the file does not exist, attempt to create
- it.
+ 'a' - Otev��t pouze pro z�pis; nastav� ukazatel na konec
+ souboru, Pokud soubor neexistuje, pokus� se ho vytvo�it.
</simpara>
</listitem>
<listitem>
<simpara>
- 'a+' - Open for reading and writing; place the file pointer at
- the end of the file. If the file does not exist, attempt to
- create it.
+ 'a+' -Otev��t pro �ten� a z�pis; nastav� ukazatel na konec
+ souboru. Pokud soubor neexistuje, pokus� se ho vytvo�it.
</simpara>
</listitem>
</itemizedlist>
- The <parameter>mode</parameter> may contain the letter
- 'b'. This is useful only on systems which differentiate between
- binary and text files (i.e., it's useless on Unix). If not
- needed, this will be ignored.
+ <parameter>mode</parameter> m��e obsahovat p�smeno 'b'.
+ To je u�ite�n� pouze na syst�mech kter� rozli�uj� mezi
+ bin�rn�mi a textov�mi soubory (nikoli nap�. na Unixu).
+ Pokud nen� zapot�eb�, je ignorov�n.
</para>
<para>
- You can use the optional third parameter and set it to "1", if
- you want to search for the file in the <link
- linkend="ini.include-path">include_path</link>, too.
+ M��ete pou��t nepovinn� t�et� parametr a nastavit ho na
+ "1", pokud chcete hledat soubor tak� v
+ <link linkend="ini.include-path">include_path</link>.
</para>
<para>
<example>