-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish translating the Apache module
- Loading branch information
Showing
6 changed files
with
670 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: f3b9d85f71934d6814a493fabb367e10731e0394 Maintainer: sobak Status: ready --> | ||
<!-- $Revision$ --> | ||
<refentry xml:id="function.apache-get-modules" xmlns="http://docbook.org/ns/docbook"> | ||
<refnamediv> | ||
<refname>apache_get_modules</refname> | ||
<refpurpose>Pobiera listę załadowanych modułów Apache</refpurpose> | ||
</refnamediv> | ||
|
||
<refsect1 role="description"> | ||
&reftitle.description; | ||
<methodsynopsis> | ||
<type>array</type><methodname>apache_get_modules</methodname> | ||
<void/> | ||
</methodsynopsis> | ||
<para> | ||
Pobiera listę załadowanych modułów Apache. | ||
</para> | ||
</refsect1> | ||
|
||
<refsect1 role="parameters"> | ||
&reftitle.parameters; | ||
&no.function.parameters; | ||
</refsect1> | ||
|
||
<refsect1 role="returnvalues"> | ||
&reftitle.returnvalues; | ||
<para> | ||
Tablica (<type>array</type>) załadowanych modułów Apache. | ||
</para> | ||
</refsect1> | ||
|
||
<refsect1 role="examples"> | ||
&reftitle.examples; | ||
<para> | ||
<example> | ||
<title>Przykład użycia <function>apache_get_modules</function></title> | ||
<programlisting role="php"> | ||
<![CDATA[ | ||
<?php | ||
print_r(apache_get_modules()); | ||
?> | ||
]]> | ||
</programlisting> | ||
&example.outputs.similar; | ||
<screen> | ||
<![CDATA[ | ||
Array | ||
( | ||
[0] => core | ||
[1] => http_core | ||
[2] => mod_so | ||
[3] => sapi_apache2 | ||
[4] => mod_mime | ||
[5] => mod_rewrite | ||
) | ||
]]> | ||
</screen> | ||
</example> | ||
</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:"~/.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 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: f3b9d85f71934d6814a493fabb367e10731e0394 Maintainer: sobak Status: ready --> | ||
<!-- $Revision$ --> | ||
<refentry xml:id="function.apache-get-version" xmlns="http://docbook.org/ns/docbook"> | ||
<refnamediv> | ||
<refname>apache_get_version</refname> | ||
<refpurpose>Pobiera wersję Apache</refpurpose> | ||
</refnamediv> | ||
|
||
<refsect1 role="description"> | ||
&reftitle.description; | ||
<methodsynopsis> | ||
<type class="union"><type>string</type><type>false</type></type><methodname>apache_get_version</methodname> | ||
<void/> | ||
</methodsynopsis> | ||
<para> | ||
Pobiera wersję Apache. | ||
</para> | ||
</refsect1> | ||
|
||
<refsect1 role="parameters"> | ||
&reftitle.parameters; | ||
&no.function.parameters; | ||
</refsect1> | ||
|
||
<refsect1 role="returnvalues"> | ||
&reftitle.returnvalues; | ||
<para> | ||
Zwraca wersję Apache w wypadku powodzenia&return.falseforfailure;. | ||
</para> | ||
</refsect1> | ||
|
||
<refsect1 role="examples"> | ||
&reftitle.examples; | ||
<para> | ||
<example> | ||
<title>Przykład użycia <function>apache_get_version</function></title> | ||
<programlisting role="php"> | ||
<![CDATA[ | ||
<?php | ||
$version = apache_get_version(); | ||
echo "$version\n"; | ||
?> | ||
]]> | ||
</programlisting> | ||
&example.outputs.similar; | ||
<screen> | ||
<![CDATA[ | ||
Apache/1.3.29 (Unix) PHP/4.3.4 | ||
]]> | ||
</screen> | ||
</example> | ||
</para> | ||
</refsect1> | ||
|
||
<refsect1 role="seealso"> | ||
&reftitle.seealso; | ||
<para> | ||
<simplelist> | ||
<member><function>phpinfo</function></member> | ||
</simplelist> | ||
</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:"~/.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 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- EN-Revision: a331ac8a86bb5929b79be9a369fac1e3af516241 Maintainer: sobak Status: ready --> | ||
<!-- $Revision$ --> | ||
<refentry xml:id="function.apache-getenv" xmlns="http://docbook.org/ns/docbook"> | ||
<refnamediv> | ||
<refname>apache_getenv</refname> | ||
<refpurpose>Pobiera zmienną subprocess_env</refpurpose> | ||
</refnamediv> | ||
|
||
<refsect1 role="description"> | ||
&reftitle.description; | ||
<methodsynopsis> | ||
<type class="union"><type>string</type><type>false</type></type><methodname>apache_getenv</methodname> | ||
<methodparam><type>string</type><parameter>variable</parameter></methodparam> | ||
<methodparam choice="opt"><type>bool</type><parameter>walk_to_top</parameter><initializer>&false;</initializer></methodparam> | ||
</methodsynopsis> | ||
<para> | ||
Pobiera zmienną środowiskową Apache określoną parametrem | ||
<parameter>variable</parameter>. | ||
</para> | ||
</refsect1> | ||
|
||
<refsect1 role="parameters"> | ||
&reftitle.parameters; | ||
<para> | ||
<variablelist> | ||
<varlistentry> | ||
<term><parameter>variable</parameter></term> | ||
<listitem> | ||
<para> | ||
Zmienna środowiskowa Apache | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
<varlistentry> | ||
<term><parameter>walk_to_top</parameter></term> | ||
<listitem> | ||
<para> | ||
Czy pobrać zmienną najwyższego poziomu dostępną dla wszystkich warstw Apache | ||
</para> | ||
</listitem> | ||
</varlistentry> | ||
</variablelist> | ||
</para> | ||
</refsect1> | ||
|
||
<refsect1 role="returnvalues"> | ||
&reftitle.returnvalues; | ||
<para> | ||
Wartość zmiennej środowiskowej Apache w wypadku powodzenia lub &false; w | ||
razie niepowodzenia | ||
</para> | ||
</refsect1> | ||
|
||
<refsect1 role="examples"> | ||
&reftitle.examples; | ||
<para> | ||
<example> | ||
<title>Przykład użycia <function>apache_getenv</function></title> | ||
<para> | ||
Przykład poniżej pokazuje jak pobrać wartość zmiennej środowiskowj | ||
Apache o nazwie <varname>SERVER_ADDR</varname>. | ||
</para> | ||
<programlisting role="php"> | ||
<![CDATA[ | ||
<?php | ||
$ret = apache_getenv("SERVER_ADDR"); | ||
echo $ret; | ||
?> | ||
]]> | ||
</programlisting> | ||
&example.outputs.similar; | ||
<screen> | ||
<![CDATA[ | ||
42.24.42.240 | ||
]]> | ||
</screen> | ||
</example> | ||
</para> | ||
</refsect1> | ||
|
||
<refsect1 role="seealso"> | ||
&reftitle.seealso; | ||
<para> | ||
<simplelist> | ||
<member><function>apache_setenv</function></member> | ||
<member><function>getenv</function></member> | ||
<member><link linkend="language.variables.superglobals">Zmienne superglobalne</link></member> | ||
</simplelist> | ||
</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:"~/.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 | ||
--> |
Oops, something went wrong.