Author: Derick Rethans
Date: 2006-01-29 14:25:48 +0100 (Sun, 29 Jan 2006)
New Revision: 2084

Log:
- Note in inline docs that validation of array based configuration data always
  returns an empty validation result.

Modified:
   packages/Configuration/trunk/src/array/array_reader.php

Modified: packages/Configuration/trunk/src/array/array_reader.php
===================================================================
--- packages/Configuration/trunk/src/array/array_reader.php     2006-01-29 
11:54:58 UTC (rev 2083)
+++ packages/Configuration/trunk/src/array/array_reader.php     2006-01-29 
13:25:48 UTC (rev 2084)
@@ -49,16 +49,15 @@
  *
  * Instead of loading the PHP file it can be validated with validate(), this 
will
  * return an ezcConfigurationValidationResult which can be inspected and
- * presented to the end user.
+ * presented to the end user. As the array format can never have any parse
+ * errors per line, the validation result will always be empty.
  * <code>
  * $result = $reader->validate();
  * if ( !$result->isValid )
  * {
  *    foreach ( $result->getResultList() as $resultItem )
  *    {
- *        print $resultItem->file . ":" . $resultItem->line . ":" .
- *            $resultItem->column. ":";
- *        print " " . $resultItem->details . "\n";
+ *        // ...
  *    }
  * }
  * </code>

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to