protected $_dimensions = array();
/**
- * Cache the style information array
+ * Cache the style
*
- * @var array
+ * @var Ansel_Style
*/
- protected $_style = array();
+ protected $_style;
/**
* Array of required, supported features for this ImageGenerator to work
public $need = array();
/**
+ * Human readable title for this thumbnail style.
+ *
+ * @var string
+ */
+ public $title;
+
+ /**
* Const'r
*
* @return Horde_ImageGenerator
* @return Ansel_ImageGenerator
* @throws Ansel_Exception
*/
- function factory($type, $params = array())
+ static public function factory($type, $params = array())
{
$type = basename($type);
$class = 'Ansel_ImageGenerator_' . $type;