svn: /phpdoc/en/trunk/language/predefined/exception/ getcode.xml

From: Date: Fri, 10 Dec 2010 08:22:33 +0000
Subject: svn: /phpdoc/en/trunk/language/predefined/exception/ getcode.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7502@lists.php.net to get a copy of this message
vrana Fri, 10 Dec 2010 08:22:33 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306174 Log: Exception::getCode() returns string in PDOException Changed paths: U phpdoc/en/trunk/language/predefined/exception/getcode.xml Modified: phpdoc/en/trunk/language/predefined/exception/getcode.xml =================================================================== --- phpdoc/en/trunk/language/predefined/exception/getcode.xml 2010-12-10 08:07:44 UTC (rev 306173) +++ phpdoc/en/trunk/language/predefined/exception/getcode.xml 2010-12-10 08:22:33 UTC (rev 306174) @@ -10,7 +10,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>final</modifier> <modifier>public</modifier> <type>int</type><methodname>Exception::getCode</methodname> + <modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>Exception::getCode</methodname> <void /> </methodsynopsis> <para> @@ -26,7 +26,10 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Returns the Exception code as a <type>integer</type>. + Returns the exception code as <type>integer</type> in + <classname>Exception</classname> but possibly as other type in + <classname>Exception</classname> descendants (for example as + <type>string</type> in <classname>PDOException</classname>). </para> </refsect1>

« previous php.doc.cvs (#7502) next »