public
authorChuck Hagenbuch <chuck@horde.org>
Sat, 21 Nov 2009 01:10:48 +0000 (20:10 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Sat, 21 Nov 2009 01:10:48 +0000 (20:10 -0500)
ansel/lib/Widget.php

index 1e0c11a..d44de6a 100644 (file)
@@ -21,7 +21,7 @@ class Ansel_Widget
      *
      * @return mixed Ansel_Widget object | PEAR_Error
      */
-    static function factory($driver, $params = array())
+    static public function factory($driver, $params = array())
     {
         $driver = basename($driver);
         $class = 'Ansel_Widget_' . $driver;
@@ -31,5 +31,4 @@ class Ansel_Widget
 
         throw new Horde_Exception('Class definition of ' . $class . ' not found.');
     }
-
 }