File tree Expand file tree Collapse file tree 4 files changed +12
-11
lines changed
simplexml/simplexmlelement Expand file tree Collapse file tree 4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 151e61773c016edcae8fd4989ad9a86ffd03c283 Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: 1367cac761756ee4fce7c63be945b115f2924795 Maintainer: takagi Status: ready -->
4
4
<!-- Credits: mumumu -->
5
5
6
6
<refentry xml : id =" sessionhandler.read" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
12
12
<refsect1 role =" description" >
13
13
&reftitle.description;
14
14
<methodsynopsis >
15
- <modifier >public</modifier > <type > string</type ><methodname >SessionHandler::read</methodname >
15
+ <modifier >public</modifier > <type class = " union " >< type > string</ type >< type >false</ type > </type ><methodname >SessionHandler::read</methodname >
16
16
<methodparam ><type >string</type ><parameter >id</parameter ></methodparam >
17
17
</methodsynopsis >
18
18
<para >
57
57
<refsect1 role =" returnvalues" >
58
58
&reftitle.returnvalues;
59
59
<para >
60
- 読み込んだデータを常に文字列で返します。何も読まなかった場合は空文字列を返さなければなりません 。
60
+ 読み込んだデータを常に文字列で返します。何も読まなかった場合は &false; を返さなければなりません 。
61
61
この値は、PHP の内部で処理されるものであることに注意しましょう。
62
62
</para >
63
63
</refsect1 >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 151e61773c016edcae8fd4989ad9a86ffd03c283 Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: 1367cac761756ee4fce7c63be945b115f2924795 Maintainer: takagi Status: ready -->
4
4
5
5
<refentry xml : id =" sessionhandlerinterface.read" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
6
6
<refnamediv >
11
11
<refsect1 role =" description" >
12
12
&reftitle.description;
13
13
<methodsynopsis >
14
- <modifier >abstract </modifier > <modifier >public</ modifier > <type >string </type ><methodname >SessionHandlerInterface::read</methodname >
14
+ <modifier >public </modifier > <type class = " union " >< type >string</ type > <type >false</ type > </type ><methodname >SessionHandlerInterface::read</methodname >
15
15
<methodparam ><type >string</type ><parameter >id</parameter ></methodparam >
16
16
</methodsynopsis >
17
17
<para >
25
25
このメソッドは、指定したセッション ID のセッションデータをストレージから取得しなければなりません。
26
26
返す文字列の書式は、<function >SessionHandlerInterface::write</function >
27
27
に渡されたものと同様にシリアライズされたものでなければなりません。
28
- データが見つからない場合は空文字列を返します 。
28
+ データが見つからない場合は &false; を返します 。
29
29
</para >
30
30
<para >
31
31
このメソッドが返すデータは、PHP が内部的にデコードします。デコードに使うメソッドは
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 5916fd8f742127259912e6510904451849928020 Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: 1367cac761756ee4fce7c63be945b115f2924795 Maintainer: takagi Status: ready -->
4
4
<refentry xml : id =" simplexmlelement.addchild" xmlns =" http://docbook.org/ns/docbook" >
5
5
<refnamediv >
6
6
<refname >SimpleXMLElement::addChild</refname >
11
11
<refsect1 role =" description" >
12
12
&reftitle.description;
13
13
<methodsynopsis >
14
- <modifier >public</modifier > <type > SimpleXMLElement</type ><methodname >SimpleXMLElement::addChild</methodname >
14
+ <modifier >public</modifier > <type class = " union " >< type > SimpleXMLElement</ type >< type >null</ type > </type ><methodname >SimpleXMLElement::addChild</methodname >
15
15
<methodparam ><type >string</type ><parameter >qualifiedName</parameter ></methodparam >
16
16
<methodparam choice =" opt" ><type class =" union" ><type >string</type ><type >null</type ></type ><parameter >value</parameter ><initializer >&null; </initializer ></methodparam >
17
17
<methodparam choice =" opt" ><type class =" union" ><type >string</type ><type >null</type ></type ><parameter >namespace</parameter ><initializer >&null; </initializer ></methodparam >
59
59
<literal >addChild</literal > メソッドは、
60
60
XML ノードに追加した子要素を表す
61
61
<type >SimpleXMLElement</type > オブジェクトを返します。
62
+ 失敗時に &null; を返します。
62
63
</para >
63
64
</refsect1 >
64
65
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 5916fd8f742127259912e6510904451849928020 Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: 1367cac761756ee4fce7c63be945b115f2924795 Maintainer: takagi Status: ready -->
4
4
<!-- CREDITS: hirokawa,shimooka -->
5
5
<refentry xml : id =" simplexmlelement.xpath" xmlns =" http://docbook.org/ns/docbook" >
6
6
<refnamediv >
11
11
<refsect1 role =" description" >
12
12
&reftitle.description;
13
13
<methodsynopsis >
14
- <modifier >public</modifier > <type class =" union" ><type >array</type ><type >false</type ></type ><methodname >SimpleXMLElement::xpath</methodname >
14
+ <modifier >public</modifier > <type class =" union" ><type >array</type ><type >null</ type >< type > false</type ></type ><methodname >SimpleXMLElement::xpath</methodname >
15
15
<methodparam ><type >string</type ><parameter >expression</parameter ></methodparam >
16
16
</methodsynopsis >
17
17
<para >
41
41
&reftitle.returnvalues;
42
42
<para >
43
43
SimpleXMLElement オブジェクトの<type >配列</type >を返します。
44
- エラーが発生した場合は &false; を返します。
44
+ エラーが発生した場合は &null; または & false; を返します。
45
45
</para >
46
46
</refsect1 >
47
47
You can’t perform that action at this time.
0 commit comments