reference/strings/functions/str-repeat.xml
e095023e408c8cb6378ae16bb6870343a3946919
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.str-repeat">
3
+
<refentry xml:id="function.str-repeat" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>str_repeat</refname>
6
6
<refpurpose>Repeat a string</refpurpose>
...
...
@@ -10,12 +10,12 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>string</type><methodname>str_repeat</methodname>
13
-
<methodparam><type>string</type><parameter>input</parameter></methodparam>
14
-
<methodparam><type>int</type><parameter>multiplier</parameter></methodparam>
13
+
<methodparam><type>string</type><parameter>string</parameter></methodparam>
14
+
<methodparam><type>int</type><parameter>times</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
Returns <parameter>input</parameter> repeated
18
-
<parameter>multiplier</parameter> times.
17
+
Returns <parameter>string</parameter> repeated
18
+
<parameter>times</parameter> times.
19
19
</para>
20
20
</refsect1>
21
21

...
...
@@ -24,7 +24,7 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>input</parameter></term>
27
+
<term><parameter>string</parameter></term>
28
28
<listitem>
29
29
<para>
30
30
The string to be repeated.
...
...
@@ -32,15 +32,15 @@
32
32
</listitem>
33
33
</varlistentry>
34
34
<varlistentry>
35
-
<term><parameter>multiplier</parameter></term>
35
+
<term><parameter>times</parameter></term>
36
36
<listitem>
37
37
<para>
38
-
Number of time the <parameter>input</parameter> string should be
38
+
Number of time the <parameter>string</parameter> string should be
39
39
repeated.
40
40
</para>
41
41
<para>
42
-
<parameter>multiplier</parameter> has to be greater than or equal to 0.
43
-
If the <parameter>multiplier</parameter> is set to 0, the function
42
+
<parameter>times</parameter> has to be greater than or equal to 0.
43
+
If the <parameter>times</parameter> is set to 0, the function
44
44
will return an empty string.
45
45
</para>
46
46
</listitem>
...
...
@@ -90,7 +90,6 @@ echo str_repeat("-=", 10);
90
90
</refsect1>
91
91

92
92
</refentry>
93
-

94
93
<!-- Keep this comment at the end of the file
95
94
Local variables:
96
95
mode: sgml
97
96