reference/phar/PharData/addFromString.xml
88773698060b9bb3e9900bbd7cb8a3da588f1288
...
...
@@ -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="phardata.addfromstring">
3
+
<refentry xml:id="phardata.addfromstring" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>PharData::addFromString</refname>
6
-
<refpurpose>Add a file from the filesystem to the tar/zip archive</refpurpose>
6
+
<refpurpose>Add a file from a string to the tar/zip archive</refpurpose>
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
-
<methodsynopsis>
11
-
<type>bool</type><methodname>PharData::addFromString</methodname>
12
-
<methodparam><type>string</type><parameter>localname</parameter></methodparam>
10
+
<methodsynopsis role="PharData">
11
+
<modifier>public</modifier> <type>void</type><methodname>PharData::addFromString</methodname>
12
+
<methodparam><type>string</type><parameter>localName</parameter></methodparam>
13
13
<methodparam><type>string</type><parameter>contents</parameter></methodparam>
14
14
</methodsynopsis>
15
15

...
...
@@ -25,7 +25,7 @@
25
25
<para>
26
26
<variablelist>
27
27
<varlistentry>
28
-
<term><parameter>localname</parameter></term>
28
+
<term><parameter>localName</parameter></term>
29
29
<listitem>
30
30
<para>
31
31
Path that the file will be stored in the archive.
...
...
@@ -79,6 +79,11 @@ try {
79
79
</para>
80
80
</refsect1>
81
81

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

82
87
<refsect1 role="seealso">
83
88
&reftitle.seealso;
84
89
<para>
...
...
@@ -93,7 +98,6 @@ try {
93
98

94
99

95
100
</refentry>
96
-

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