php-doc-en/reference/spl/arrayobject.xml
Pierrick Charron 4724b47c25 Added new entities for Properties, Methods, InheritedMethods, Constants
# Those words were hardcoded in all class synopsis 


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292734 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-29 09:42:00 +00:00

172 lines
4.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.arrayobject" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The ArrayObject class</title>
<titleabbrev>ArrayObject</titleabbrev>
<partintro>
<!-- {{{ ArrayObject intro -->
<section xml:id="arrayobject.intro">
&reftitle.intro;
<para>
This class allows objects to work as arrays.
</para>
</section>
<!-- }}} -->
<section xml:id="arrayobject.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass><classname>ArrayObject</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
<classname>ArrayObject</classname>
</ooclass>
<oointerface>
<interfacename>IteratorAggregate</interfacename>
</oointerface>
<oointerface>
<interfacename>Traversable</interfacename>
</oointerface>
<oointerface>
<interfacename>ArrayAccess</interfacename>
</oointerface>
<oointerface>
<interfacename>Serializable</interfacename>
</oointerface>
<oointerface>
<interfacename>Countable</interfacename>
</oointerface>
</classsynopsisinfo>
<classsynopsisinfo role="comment">&Constants;</classsynopsisinfo>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="arrayobject.constants.std-prop-list">STD_PROP_LIST</varname>
<initializer>1</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="arrayobject.constants.array-as-props">ARRAY_AS_PROPS</varname>
<initializer>2</initializer>
</fieldsynopsis>
<!-- }}} -->
<!-- {{{ If the property is documented below (xml:id=arrayobject.props) use this
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<type>string</type>
<varname linkend="arrayobject.props.name">name</varname>
</fieldsynopsis>
}}} -->
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayobject')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" />
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayobject')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
</classsynopsis>
</section>
<section xml:id="arrayobject.constants">
&reftitle.constants;
<section xml:id="arrayobject.constants.flags">
<title>ArrayObject Flags</title>
<variablelist>
<varlistentry xml:id="arrayobject.constants.std-prop-list">
<term><constant>ArrayObject::STD_PROP_LIST</constant></term>
<listitem>
<para>Properties of the object have their normal functionality when accessed as list (var_dump, foreach, etc.).</para>
</listitem>
</varlistentry>
<varlistentry xml:id="arrayobject.constants.array-as-props">
<term><constant>ArrayObject::ARRAY_AS_PROPS</constant></term>
<listitem>
<para>Entries can be accessed as properties (read and write).</para>
</listitem>
</varlistentry>
</variablelist>
</section>
</section>
<section role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.3.0</entry>
<entry>
Implements <interfacename>Serializable</interfacename>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</section>
<!-- {{{ ArrayObject properties
<section xml:id="arrayobject.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="arrayobject.props.name">
<term><varname>name</varname></term>
<listitem>
<para>Prop description</para>
</listitem>
</varlistentry>
</variablelist>
</section>
}}} -->
</partintro>
&reference.spl.entities.arrayobject;
</phpdoc:classref>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->