tweak capability array
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 14 Feb 2010 15:27:04 +0000 (10:27 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sun, 14 Feb 2010 15:27:04 +0000 (10:27 -0500)
framework/Image/lib/Horde/Image/Base.php
framework/Image/lib/Horde/Image/Im.php
framework/Image/lib/Horde/Image/Imagick.php

index 29dfadb..037ff2d 100644 (file)
@@ -32,12 +32,6 @@ class Horde_Image_Base
      */
     protected $_observers = array();
 
-    /**
-     * Capabilites of this driver.
-     *
-     * @var array
-     */
-    protected $_capabilities = array();
 
     /**
      * The current image data.
index 1bb22a6..eae3262 100644 (file)
@@ -27,7 +27,7 @@ class Horde_Image_Im extends Horde_Image_Base
                                      'mirror',
                                      'sepia',
                                      'canvas');
-
+    
     /**
      * Operations to be performed before the source filename is specified on the
      * command line.
index 1526204..d6a9603 100644 (file)
@@ -14,6 +14,26 @@ class Horde_Image_Imagick extends Horde_Image_Base
 {
     protected $_imagick;
 
+    /**
+     * Capabilites of this driver.
+     *
+     * @var array
+     */
+    protected $_capabilities = array('resize',
+                                     'crop',
+                                     'rotate',
+                                     'grayscale',
+                                     'flip',
+                                     'mirror',
+                                     'sepia',
+                                     'canvas');
+
+    /**
+     * Const'r
+     *
+     * @param array $params
+     * @param array $context
+     */
     public function __construct($params, $context = array())
     {
         parent::__construct($params, $context);