svn: /phpdoc/en/trunk/reference/spl/splfixedarray/ count.xml getsize.xml setsize.xml
| From: | Peter Cowburn | Date: | Sat, 19 Nov 2011 21:08:45 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/spl/splfixedarray/ count.xml getsize.xml setsize.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9054@lists.php.net to get a copy of this message | ||
salathe Sat, 19 Nov 2011 21:08:45 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=319558
Log:
whitespace, spelling, grammar
Changed paths:
U phpdoc/en/trunk/reference/spl/splfixedarray/count.xml
U phpdoc/en/trunk/reference/spl/splfixedarray/getsize.xml
U phpdoc/en/trunk/reference/spl/splfixedarray/setsize.xml
Modified: phpdoc/en/trunk/reference/spl/splfixedarray/count.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/splfixedarray/count.xml 2011-11-19 20:23:09 UTC (rev 319557)
+++ phpdoc/en/trunk/reference/spl/splfixedarray/count.xml 2011-11-19 21:08:45 UTC (rev 319558)
@@ -33,13 +33,13 @@
&reftitle.examples;
<para>
<example>
- <title><function>SplFixedArray::count</function> example</title>
+ <title><methodname>SplFixedArray::count</methodname> example</title>
<programlisting role="php">
<![CDATA[
<?php
- $array = new SplFixedArray(5);
- echo $array->count() . "\n";
- echo count($array) . "\n";
+$array = new SplFixedArray(5);
+echo $array->count() . "\n";
+echo count($array) . "\n";
?>
]]>
</programlisting>
@@ -56,19 +56,23 @@
<refsect1 role="notes">
&reftitle.notes;
- <para>
- This method is functionally equivalent to
<function>SplFixedArray::getSize</function>.
- </para>
- <para>
- The count of elements is always equal to the set size because all values are initially
- initialized with &null;.
- </para>
+ <note>
+ <para>
+ This method is functionally equivalent to
<methodname>SplFixedArray::getSize</methodname>.
+ </para>
+ </note>
+ <note>
+ <para>
+ The count of elements is always equal to the set size because all values are initially
+ initialized with &null;.
+ </para>
+ </note>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
- <member><function>SplFixedArray::getSize</function></member>
+ <member><methodname>SplFixedArray::getSize</methodname></member>
</simplelist>
</refsect1>
</refentry>
Modified: phpdoc/en/trunk/reference/spl/splfixedarray/getsize.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/splfixedarray/getsize.xml 2011-11-19 20:23:09 UTC (rev 319557)
+++ phpdoc/en/trunk/reference/spl/splfixedarray/getsize.xml 2011-11-19 21:08:45 UTC (rev 319558)
@@ -33,14 +33,14 @@
&reftitle.examples;
<para>
<example>
- <title><function>SplFixedArray::getSize</function> example</title>
+ <title><methodname>SplFixedArray::getSize</methodname> example</title>
<programlisting role="php">
<![CDATA[
<?php
- $array = new SplFixedArray(5);
- echo $array->getSize()."\n";
- $array->setSize(10);
- echo $array->getSize()."\n";
+$array = new SplFixedArray(5);
+echo $array->getSize()."\n";
+$array->setSize(10);
+echo $array->getSize()."\n";
?>
]]>
</programlisting>
@@ -56,15 +56,17 @@
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
- <para>
- This method is functionally equivalent to <function>SplFixedArray::count</function>
- </para>
+ <note>
+ <para>
+ This method is functionally equivalent to
<methodname>SplFixedArray::count</methodname>
+ </para>
+ </note>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
- <member><function>SplFixedArray::count</function></member>
+ <member><methodname>SplFixedArray::count</methodname></member>
</simplelist>
</refsect1>
</refentry>
Modified: phpdoc/en/trunk/reference/spl/splfixedarray/setsize.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/splfixedarray/setsize.xml 2011-11-19 20:23:09 UTC (rev 319557)
+++ phpdoc/en/trunk/reference/spl/splfixedarray/setsize.xml 2011-11-19 21:08:45 UTC (rev 319558)
@@ -15,7 +15,7 @@
<para>
Change the size of an array to the new size of <parameter>size</parameter>. If
<parameter>size</parameter> is less than the current array size, any values after
the new size
- will be discarded. If <parameter>size</parameter> is greather than the current array
size, the
+ will be discarded. If <parameter>size</parameter> is greater than the current array
size, the
array will be padded with &null; values.
</para>
</refsect1>
@@ -28,7 +28,7 @@
<term><parameter>size</parameter></term>
<listitem>
<para>
- The new array size. This should be a value between <literal>0</literal> and
<constant>PHP_INT_MAX</constant>
+ The new array size. This should be a value between <literal>0</literal> and
<constant>PHP_INT_MAX</constant>.
</para>
</listitem>
</varlistentry>