http://www.mediawiki.org/wiki/Special:Code/MediaWiki/71861

Revision: 71861
Author:   jeroendedauw
Date:     2010-08-28 19:09:17 +0000 (Sat, 28 Aug 2010)

Log Message:
-----------
Added some docs

Modified Paths:
--------------
    trunk/extensions/Validator/ParserHook.php

Modified: trunk/extensions/Validator/ParserHook.php
===================================================================
--- trunk/extensions/Validator/ParserHook.php   2010-08-28 18:23:20 UTC (rev 
71860)
+++ trunk/extensions/Validator/ParserHook.php   2010-08-28 19:09:17 UTC (rev 
71861)
@@ -1,5 +1,16 @@
 <?php
 
+/**
+ * Class for out of the box parser hook functionality inetgrated with the 
validation
+ * provided by Validator.
+ *
+ * @since 0.4
+ *
+ * @file ParserHook.php
+ * @ingroup Validator
+ *
+ * @author Jeroen De Dauw
+ */
 abstract class ParserHook {
        
        /**
@@ -129,6 +140,14 @@
                return $output;
        }
        
+       /**
+        * Handles any errors that occured. Messages that should be added the 
the regular
+        * output are returned.
+        * 
+        * @param ValidatorManager $manager
+        * 
+        * @return string
+        */
        protected function handleErrors( ValidatorManager $manager ) {
                $errorList = $manager->getErrorList();
 



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to