svn: /phpdoc/ja/trunk/reference/session/ constants.xml functions/session-status.xml
| From: | TAKAGI Masahiro | Date: | Sat, 03 Dec 2011 20:53:48 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/reference/session/ constants.xml functions/session-status.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-3160@lists.php.net to get a copy of this message | ||
takagi Sat, 03 Dec 2011 20:53:48 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320319
Log:
sync with en.
Changed paths:
U phpdoc/ja/trunk/reference/session/constants.xml
A phpdoc/ja/trunk/reference/session/functions/session-status.xml
Modified: phpdoc/ja/trunk/reference/session/constants.xml
===================================================================
--- phpdoc/ja/trunk/reference/session/constants.xml 2011-12-03 20:45:17 UTC (rev 320318)
+++ phpdoc/ja/trunk/reference/session/constants.xml 2011-12-03 20:53:48 UTC (rev 320319)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 320182 Maintainer: takagi Status: ready -->
+<!-- CREDITS: hirokawa -->
<appendix xml:id="session.constants" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
&extension.constants;
@@ -18,6 +19,39 @@
</simpara>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <constant>PHP_SESSION_DISABLED</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ セッションが無効な場合の <function>session_status</function>
の返り値。
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>PHP_SESSION_NONE</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ セッションが有効だけれどもセッションが存在しない場合の
<function>session_status</function> の返り値。
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>
+ <constant>PHP_SESSION_ACTIVE</constant>
+ (<type>int</type>)
+ </term>
+ <listitem>
+ <simpara>
+ セッションが有効で、かつセッションが存在する場合の
<function>session_status</function> の返り値。
+ </simpara>
+ </listitem>
+ </varlistentry>
</variablelist>
</appendix>
Added: phpdoc/ja/trunk/reference/session/functions/session-status.xml
===================================================================
--- phpdoc/ja/trunk/reference/session/functions/session-status.xml (rev 0)
+++ phpdoc/ja/trunk/reference/session/functions/session-status.xml 2011-12-03 20:53:48 UTC (rev
320319)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 320272 Maintainer: takagi Status: ready -->
+
+<refentry xml:id="function.session-status" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>session_status</refname>
+ <refpurpose>現在のセッションの状態を返す</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description"><!-- {{{ -->
+ &reftitle.description;
+ <methodsynopsis role="procedural">
+ <type>int</type><methodname>session_status</methodname>
+ <void />
+ </methodsynopsis>
+ <para>
+ <function>session_status</function>
を使うと、現在のセッションの状態を取得できます。
+ </para>
+ </refsect1><!-- }}} -->
+
+ <refsect1 role="returnvalues"><!-- {{{ -->
+ &reftitle.returnvalues;
+ <para>
+ <itemizedlist>
+ <listitem>
+ <simpara>セッションが無効な場合は
<constant>PHP_SESSION_DISABLED</constant></simpara>
+ </listitem>
+ <listitem>
+
<simpara>セッションが有効だけれどもセッションが存在しない場合は
<constant>PHP_SESSION_NONE</constant></simpara>
+ </listitem>
+ <listitem>
+ <simpara>セッションが有効で、かつセッションが存在する場合は
<constant>PHP_SESSION_ACTIVE</constant></simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
+ </refsect1><!-- }}} -->
+
+ <refsect1 role="seealso"><!-- {{{ -->
+ &reftitle.seealso;
+ <simplelist>
+ <member><function>session_start</function></member>
+ </simplelist>
+ </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
+-->
+
Property changes on: phpdoc/ja/trunk/reference/session/functions/session-status.xml
___________________________________________________________________
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native