cvs: phpdoc-pl /reference/url/functions parse-url.xml
| From: | Adam Major | Date: | Sat, 28 Apr 2007 11:36:39 +0000 |
| Subject: | cvs: phpdoc-pl /reference/url/functions parse-url.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-1074@lists.php.net to get a copy of this message | ||
adi Sat Apr 28 11:36:39 2007 UTC
Modified files:
/phpdoc-pl/reference/url/functions parse-url.xml
Log:
Update to EN rev 1.16
http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/url/functions/parse-url.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc-pl/reference/url/functions/parse-url.xml
diff -u phpdoc-pl/reference/url/functions/parse-url.xml:1.8
phpdoc-pl/reference/url/functions/parse-url.xml:1.9
--- phpdoc-pl/reference/url/functions/parse-url.xml:1.8 Wed Aug 16 00:02:51 2006
+++ phpdoc-pl/reference/url/functions/parse-url.xml Sat Apr 28 11:36:38 2007
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.14 Maintainer: adi Status: ready -->
-<!-- $Revision: 1.8 $ -->
+<!-- EN-Revision: 1.16 Maintainer: adi Status: ready -->
+<!-- $Revision: 1.9 $ -->
<refentry id="function.parse-url">
<refnamediv>
<refname>parse_url</refname>
<refpurpose>Przetwarza adres URL i zwraca jego sk³adowe</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -18,10 +19,10 @@
komponentów wchodz±cych w sk³ad URL.
</para>
<para>
- Ta funkcja <emphasis role="strong">nie s³u¿y</emphasis> do sprawdzania
- poprawno¶ci podanego URL, tylko rozbija go na podane ni¿ej czê¶ci. Czê¶ciowe
- URLe tak¿e s± obs³ugiwane <function>parse_url</function> postara siê przetworzyæ
- je poprawnie.
+ Ta funkcja <emphasis role="strong">nie s³u¿y</emphasis> do sprawdzania
+ poprawno¶ci podanego URL, tylko rozbija go na podane ni¿ej czê¶ci. Czê¶ciowe
+ URLe tak¿e s± obs³ugiwane <function>parse_url</function> postara siê
przetworzyæ
+ je poprawnie.
</para>
</refsect1>
@@ -38,7 +39,6 @@
</listitem>
</varlistentry>
</variablelist>
-
<variablelist>
<varlistentry>
<term><parameter>sk³adnik</parameter></term>
@@ -49,12 +49,11 @@
<constant>PHP_URL_USER</constant>,
<constant>PHP_URL_PASS</constant>,
<constant>PHP_URL_PATH</constant>,
<constant>PHP_URL_QUERY</constant>
or <constant>PHP_URL_FRAGMENT</constant> aby otrzymaæ okre¶lony sk³adnik URL
- jako <type>string</type>.
+ jako <type>string</type>.
</para>
</listitem>
</varlistentry>
</variablelist>
-
</para>
</refsect1>
@@ -103,11 +102,11 @@
<listitem>
<simpara>
<structfield>fragment</structfield> - po znaku <literal>#</literal>
- </simpara>
- </listitem>
- </itemizedlist>
- </para>
- <para>
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
+ <para>
Je¶li parametr <parameter>sk³adnik</parameter> jest okre¶lony, zwracany jest
<type>string</type> zamiast <type>array</type>.
</para>
@@ -133,68 +132,71 @@
</tgroup>
</informaltable>
</para>
-
-</refsect1>
-<refsect1 role="examples"> &reftitle.examples;
-<para>
-<example>
-<title>A <function>parse_url</function> przyk³ad</title>
-<programlisting role="php">
+ </refsect1>
+
+ <refsect1 role="examples"> &reftitle.examples;
+ <para>
+ <example>
+ <title>A <function>parse_url</function> przyk³ad</title>
+ <programlisting role="php">
<![CDATA[
<?php
$url = 'http://uzytkownik:haslo@serwer/sciezka?arg=wartosc#kotwica';
print_r(parse_url($url));
+
echo parse_url($url, PHP_URL_PATH);
?>
]]>
-</programlisting>
-&example.outputs;
-<screen>
+ </programlisting>
+ &example.outputs;
+ <screen>
<![CDATA[
Array
(
[scheme] => http
- [host] => serwerer
- [user] => uzytkownik
- [pass] => haslo
- [path] => /sciezka
- [query] => arg=wartosc
- [fragment] => kotwica
+ [host] => serwer
+ [user] => uzytkownik
+ [pass] => haslo
+ [path] => /sciezka
+ [query] => arg=wartosc
+ [fragment] => kotwica
)
/sciezka
]]>
-</screen>
-</example>
-</para>
-</refsect1>
-<refsect1 role="notes">
-&reftitle.notes;
-<note>
-<para>
-Funkcja nie dzia³a na relatywnych URLach.
-</para>
-</note>
-<note>
-<para>
-<function>parse_url</function> jest przeznaczona do przetwarzania URLi, a nie URI.
-Jednak¿e, aby zastosowaæ wymóg wstecznej kompatybilno¶ci PHP, zrobiono wyj±tek dla
-protoko³u file:// gdzie potrójne uko¶niki (file:///...) s± dozwolone. Dla innych protoko³ów
-jest to nieprawid³owe.
-</para>
-</note>
-</refsect1>
-<refsect1 role="seealso"> &reftitle.seealso;
-<para>
-<simplelist>
-<member><function>pathinfo</function></member>
-<member><function>parse_str</function></member>
-<member><function>http_build_query</function></member>
-<member><function>dirname</function></member>
-<member><function>basename</function></member>
-</simplelist>
-</para>
-</refsect1>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <note>
+ <para>
+ Funkcja nie dzia³a na relatywnych URLach.
+ </para>
+ </note>
+ <note>
+ <para>
+ Ta funkcja jest przeznaczona do przetwarzania URLi, a nie URI.
+ Jednak¿e, aby zastosowaæ wymóg wstecznej kompatybilno¶ci PHP, zrobiono wyj±tek dla
+ protoko³u file:// gdzie potrójne uko¶niki (file:///...) s± dozwolone. Dla innych
protoko³ów
+ jest to nieprawid³owe.
+ </para>
+ </note>
+ </refsect1>
+
+ <refsect1 role="seealso"> &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>pathinfo</function></member>
+ <member><function>parse_str</function></member>
+ <member><function>http_build_query</function></member>
+ <member><function>dirname</function></member>
+ <member><function>basename</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
</refentry>
<!-- Keep this comment at the end of the file