public __construct ( $params ) : Horde_ImageGenerator | ||
return | Horde_ImageGenerator |
public function __construct($params)
{
$this->_params = $params;
if (!empty($params['image'])) {
$this->_image = $params['image'];
}
$this->_style = $params['style'];
}
public function __construct($params) { parent::__construct($params); $this->title = _("Square Thumbnails"); if (empty($this->_params['width'])) { $this->_params['width'] = $this->_style->width; } if (empty($this->_params['height'])) { $this->_params['height'] = $this->_style->height; } }