From 370e83bb0dfd0c70de268c93bf07ad5ee0897192 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 15 Aug 2008 01:29:47 +0200 Subject: Update auf 1.13.0 --- includes/WikiError.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'includes/WikiError.php') diff --git a/includes/WikiError.php b/includes/WikiError.php index b155f9bf..c5082004 100644 --- a/includes/WikiError.php +++ b/includes/WikiError.php @@ -24,11 +24,11 @@ /** * Since PHP4 doesn't have exceptions, here's some error objects * loosely modeled on the standard PEAR_Error model... - * @addtogroup Exception + * @ingroup Exception */ class WikiError { /** - * @param string $message + * @param $message string */ function __construct( $message ) { $this->mMessage = $message; @@ -54,9 +54,8 @@ class WikiError { * Returns true if the given object is a WikiError-descended * error object, false otherwise. * - * @param mixed $object + * @param $object mixed * @return bool - * @static */ public static function isError( $object ) { return $object instanceof WikiError; @@ -65,11 +64,11 @@ class WikiError { /** * Localized error message object - * @addtogroup Exception + * @ingroup Exception */ class WikiErrorMsg extends WikiError { /** - * @param string $message Wiki message name + * @param $message String: wiki message name * @param ... parameters to pass to wfMsg() */ function WikiErrorMsg( $message/*, ... */ ) { @@ -81,12 +80,14 @@ class WikiErrorMsg extends WikiError { /** * @todo document - * @addtogroup Exception + * @ingroup Exception */ class WikiXmlError extends WikiError { /** - * @param resource $parser - * @param string $message + * @param $parser resource + * @param $message string + * @param $context + * @param $offset Int */ function WikiXmlError( $parser, $message = 'XML parsing error', $context = null, $offset = 0 ) { $this->mXmlError = xml_get_error_code( $parser ); -- cgit v1.2.3-54-g00ecf