Author: Tobias Schlitt
Date: 2006-01-27 15:14:07 +0100 (Fri, 27 Jan 2006)
New Revision: 2065
Log:
- Fix missing docs.
Modified:
packages/ImageAnalysis/trunk/src/analyzer.php
Modified: packages/ImageAnalysis/trunk/src/analyzer.php
===================================================================
--- packages/ImageAnalysis/trunk/src/analyzer.php 2006-01-27 14:13:55 UTC
(rev 2064)
+++ packages/ImageAnalysis/trunk/src/analyzer.php 2006-01-27 14:14:07 UTC
(rev 2065)
@@ -195,11 +195,31 @@
}
}
+ /**
+ * Returns an array of known handler classes.
+ * This method returns an array of available handler classes. The array is
+ * indexed by the handler names, which are assigned to an array of options
+ * set for this handler.
+ *
+ * @return array(string=>array(string=>string)) Handlers and options.
+ */
public static function getHandlerClasses()
{
return ezcImageAnalyzer::$knownHandlers;
}
+ /**
+ * Set the array of known handlers.
+ * Sets the available handlers. The array submitted must be indexed by
+ * the handler classes names (attention: handler classes must extend
+ * ezcImageAnalyzerHandler), assigned to an array of options for this
+ * handler. Most handlers don't have any options. Which options a handler
+ * may accept depends on the handler implementation.
+ *
+ * @param array(string=>array(string=>string)) $handlerClasses Handlers
+ * and options.
+ * @return void
+ */
public static function setHandlerClasses( array $handlerClasses )
{
ezcImageAnalyzer::$knownHandlers = $handlerClasses;
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components