mirror of
https://github.com/php/doc-pl.git
synced 2026-03-24 07:02:07 +01:00
101 lines
2.9 KiB
XML
101 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 151e61773c016edcae8fd4989ad9a86ffd03c283 Maintainer: leszek Status: ready -->
|
|
<!-- $Revision$ -->
|
|
<!-- CREDITS: sobak, grzesiek -->
|
|
<refentry xml:id="function.session-module-name" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>session_module_name</refname>
|
|
<refpurpose>Pobierz i/lub ustaw moduł bieżącej sesji</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type class="union"><type>string</type><type>false</type></type><methodname>session_module_name</methodname>
|
|
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>module</parameter><initializer>&null;</initializer></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>session_module_name</function> pobiera nazwę obecnego
|
|
modułu sesji, który jest również znany jako
|
|
<link linkend="ini.session.save-handler">session.save_handler</link>.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>module</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Jeżel parametr <parameter>module</parameter> jest określony i nie ma wartości &null;, to zostanie on
|
|
użyty w zamian obecnego.
|
|
Przekazanie wartości <literal>"user"</literal> do tego paramteru jest zabronione. Zamiast tego
|
|
należy wywołać funkcję <function>session_set_save_handler</function> w celu ustawienia obsługi
|
|
sesji zdefniowanego przez użytkownika.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Zwraca nazwę obecnego modułu sesji&return.falseforfailure;.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="changelog">
|
|
&reftitle.changelog;
|
|
<informaltable>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>&Version;</entry>
|
|
<entry>&Description;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>8.0.0</entry>
|
|
<entry>
|
|
Parametr <parameter>module</parameter> dopuszcza teraz &null;.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry>7.2.0</entry>
|
|
<entry>
|
|
Obecnie jest wyraźnie zabronione ustawianie nazwy modułu na
|
|
<literal>"user"</literal>. Wcześniej było to po cichu ignorowane.
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</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
|
|
-->
|