mirror of
https://github.com/php/doc-de.git
synced 2026-03-23 23:02:13 +01:00
111 lines
3.2 KiB
XML
111 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 59a7b6d83acdad0180fa4519fa537bfd6deb162a Maintainer: samesch Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<reference xml:id="class.pdorow" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<title>Die Klasse PDORow</title>
|
|
<titleabbrev>PDORow</titleabbrev>
|
|
|
|
<partintro>
|
|
|
|
<!-- {{{ PDORow intro -->
|
|
<section xml:id="pdorow.intro">
|
|
&reftitle.intro;
|
|
<para>
|
|
Stellt eine Zeile aus einer Ergebnismenge dar, die von
|
|
<methodname>PDOStatement::fetch</methodname> im Abrufmodus
|
|
<constant>PDO_FETCH_LAZY</constant> zurückgegeben wurde.
|
|
</para>
|
|
<para>
|
|
Objekte dieser Klasse können weder instanziiert noch serialisiert werden.
|
|
</para>
|
|
<para>
|
|
Über das <classname>PDORow</classname>-Objekt kann auf die zurückgegebenen
|
|
Daten zugegriffen werden, als ob sowohl der Modus
|
|
<constant>PDO::FETCH_OBJ</constant> als auch
|
|
<constant>PDO::FETCH_BOTH</constant> verwendet wurde. Das bedeutet, dass
|
|
auf die zurückgegebenen Daten als Objekteigenschaften und als Array
|
|
zugegriffen werden kann, das sowohl durch den Spaltennamen als auch durch
|
|
die Nummer des Spaltenoffsets indiziert ist.
|
|
</para>
|
|
<caution>
|
|
<simpara>
|
|
Wenn auf eine undefinierte Eigenschaft zugegriffen wird, wird &null;
|
|
zurückgegeben, ohne dass eine Warnung ausgegeben wird.
|
|
</simpara>
|
|
</caution>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<section xml:id="pdorow.synopsis">
|
|
&reftitle.classsynopsis;
|
|
|
|
<!-- {{{ Synopsis -->
|
|
<classsynopsis class="class">
|
|
<ooclass>
|
|
<modifier>final</modifier>
|
|
<classname>PDORow</classname>
|
|
</ooclass>
|
|
|
|
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<type>string</type>
|
|
<varname linkend="pdorow.props.querystring">queryString</varname>
|
|
</fieldsynopsis>
|
|
</classsynopsis>
|
|
<!-- }}} -->
|
|
|
|
</section>
|
|
|
|
|
|
<!-- {{{ PDORow properties -->
|
|
<section xml:id="pdorow.props">
|
|
&reftitle.properties;
|
|
<variablelist>
|
|
<varlistentry xml:id="pdorow.props.querystring">
|
|
<term><varname>queryString</varname></term>
|
|
<listitem>
|
|
<para>
|
|
Die Abfrage-Zeichenkette, die von dem
|
|
<classname>PDOStatement</classname> verwendet wurde, das das
|
|
<classname>PDORow</classname>-Objekt zurückgegeben hat.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<section role="errors">
|
|
&reftitle.errors;
|
|
<para>
|
|
Wenn versucht wird, in eine beliebige Eigenschaft zu schreiben oder sie
|
|
mittels <function>unset</function> zu löschen, wird ein
|
|
<classname>Error</classname> geworfen.
|
|
</para>
|
|
</section>
|
|
|
|
</partintro>
|
|
|
|
</reference>
|
|
<!-- 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
|
|
-->
|