From: Michael J. Rubinsky Date: Fri, 17 Sep 2010 17:21:35 +0000 (-0400) Subject: phpdoc X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=58774be5d0eac27e0a45cd4c3df70714f45506b0;p=horde.git phpdoc --- diff --git a/ansel/lib/ImageGenerator.php b/ansel/lib/ImageGenerator.php index fa036ff66..983d027cb 100644 --- a/ansel/lib/ImageGenerator.php +++ b/ansel/lib/ImageGenerator.php @@ -39,11 +39,11 @@ class Ansel_ImageGenerator 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 @@ -53,6 +53,13 @@ class Ansel_ImageGenerator public $need = array(); /** + * Human readable title for this thumbnail style. + * + * @var string + */ + public $title; + + /** * Const'r * * @return Horde_ImageGenerator @@ -93,7 +100,7 @@ class Ansel_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;