Files
doc-fr/reference/spl/arrayobject.xml
T
Yannick Torres df4719ee1d sync with EN
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@330361 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-26 11:39:35 +00:00

155 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b77ea449e7387667c8c8386ea4f736748abf2787 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<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>&class.theclass; <classname>ArrayObject</classname></title>
<titleabbrev>ArrayObject</titleabbrev>
<partintro>
<!-- {{{ ArrayObject intro -->
<section xml:id="arrayobject.intro">
&reftitle.intro;
<para>
Cette classe permet aux objets de fonctionner comme des tableaux.
</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>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>
<!-- }}} -->
<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>Options de <classname>ArrayObject</classname></title>
<variablelist>
<varlistentry xml:id="arrayobject.constants.std-prop-list">
<term><constant>ArrayObject::STD_PROP_LIST</constant></term>
<listitem>
<para>
Les propriétés de l'objet ont leur fonctionnement normal
lorsqu'on y accède depuis la liste (<function>var_dump</function>,
<link linkend="control-structures.foreach">foreach</link>, etc.).
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="arrayobject.constants.array-as-props">
<term><constant>ArrayObject::ARRAY_AS_PROPS</constant></term>
<listitem>
<para>
Il est possible d'accéder aux éléments comme
des propriétés (lecture et écritre).
</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>
Implémente <interfacename>Serializable</interfacename>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</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
-->