Added missing mysqli_sql_exception class

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323734 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2012-03-01 22:08:38 +00:00
parent 93ce2d7183
commit a664e33433
3 changed files with 114 additions and 0 deletions

View file

@ -62,6 +62,7 @@
&reference.mysqli.mysqli-result;
&reference.mysqli.mysqli-driver;
&reference.mysqli.mysqli-warning;
&reference.mysqli.mysqli-sql-exception;
&reference.mysqli.reference;
</book>

View file

@ -0,0 +1,112 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<phpdoc:classref xml:id="class.mysqli-sql-exception" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>The mysqli_sql_exception class</title>
<titleabbrev>mysqli_sql_exception</titleabbrev>
<partintro>
<section xml:id="mysqli-sql-exception.intro">
&reftitle.intro;
<para>
The mysqli exception handling class.
</para>
</section>
<section xml:id="mysqli-sql-exception.synopsis">
&reftitle.classsynopsis;
<classsynopsis>
<ooclass><classname>mysqli_sql_exception</classname></ooclass>
<classsynopsisinfo>
<ooclass>
<classname>mysqli_sql_exception</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
<classname>RuntimeException</classname>
</ooclass>
</classsynopsisinfo>
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>protected</modifier>
<varname linkend="mysqli-sql-exception.props.code">code</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>protected</modifier>
<varname linkend="mysqli-sql-exception.props.sqlstate">sqlstate</varname>
</fieldsynopsis>
</classsynopsis>
</section>
<section xml:id="mysqli-sql-exception.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="mysqli-sql-exception.props.message">
<term><varname>message</varname></term>
<listitem>
<para>
The error message.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="mysqli-sql-exception.props.file">
<term><varname>file</varname></term>
<listitem>
<para>
The file with the error.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="mysqli-sql-exception.props.line">
<term><varname>line</varname></term>
<listitem>
<para>
The line with the error.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="mysqli-sql-exception.props.code">
<term><varname>code</varname></term>
<listitem>
<para>
The code causing the error.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="mysqli-sql-exception.props.sqlstate">
<term><varname>sqlstate</varname></term>
<listitem>
<para>
The sql state with the error.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>
</partintro>
</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
-->

View file

@ -167,6 +167,7 @@
<function name='mysqli_result' from='PHP 5'/>
<function name='mysqli_driver' from='PHP 5'/>
<function name='mysqli_warning' from='PHP 5'/>
<function name='mysqli_sql_exception' from='PHP 5'/>
</versions>
<!-- Keep this comment at the end of the file