PHP Class Newscoop\Image\ThumbnailViewHelper

Inheritance: extends Zend_View_Helper_Abstract
Mostra file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$imageService Newscoop\Image\ImageService

Public Methods

Method Description
__construct ( ImageService $imageService )
thumbnail ( string $image, integer $width, integer $height, string $specs ) : mixin Get thumbnail for given image

Method Details

__construct() public method

public __construct ( ImageService $imageService )
$imageService ImageService

thumbnail() public method

Get thumbnail for given image
public thumbnail ( string $image, integer $width, integer $height, string $specs ) : mixin
$image string
$width integer
$height integer
$specs string
return mixin

Property Details

$imageService protected_oe property

protected Newscoop\Image\ImageService $imageService
return Newscoop\Image\ImageService