reference/phar/Phar/addFromString.xml
f03806fcd8fe03a0501bd40b6e3939ff6589a1d2
...
...
@@ -1,15 +1,15 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="phar.addfromstring">
3
+
<refentry xml:id="phar.addfromstring" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>Phar::addFromString</refname>
6
6
<refpurpose>Add a file from a string to the phar archive</refpurpose>
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
10
+
<methodsynopsis role="Phar">
11
11
<modifier>public</modifier> <type>void</type><methodname>Phar::addFromString</methodname>
12
-
<methodparam><type>string</type><parameter>localname</parameter></methodparam>
12
+
<methodparam><type>string</type><parameter>localName</parameter></methodparam>
13
13
<methodparam><type>string</type><parameter>contents</parameter></methodparam>
14
14
</methodsynopsis>
15
15
&phar.write;
...
...
@@ -26,7 +26,7 @@
26
26
<para>
27
27
<variablelist>
28
28
<varlistentry>
29
-
<term><parameter>localname</parameter></term>
29
+
<term><parameter>localName</parameter></term>
30
30
<listitem>
31
31
<para>
32
32
Path that the file will be stored in the archive.
...
...
@@ -80,6 +80,11 @@ try {
80
80
</para>
81
81
</refsect1>
82
82

83
+
<refsect1 role="notes">
84
+
&reftitle.notes;
85
+
&phar.note.performance;
86
+
</refsect1>
87
+

83
88
<refsect1 role="seealso">
84
89
&reftitle.seealso;
85
90
<para>
...
...
@@ -94,7 +99,6 @@ try {
94
99

95
100

96
101
</refentry>
97
-

98
102
<!-- Keep this comment at the end of the file
99
103
Local variables:
100
104
mode: sgml
101
105