PHP Class Screen\Image\Types

Show file Open project: microweber/screen Class Usage Examples

Protected Properties

Property Type Description
$typesMap

Public Methods

Method Description
available ( ) : array Returns all the available image types
getClass ( string $type ) : Type Returns an instance of the requested image type
isAvailable ( $type ) : boolean Check if an image type is available

Method Details

available() public static method

Returns all the available image types
public static available ( ) : array
return array

getClass() public static method

Returns an instance of the requested image type
public static getClass ( string $type ) : Type
$type string Image type
return Screen\Image\Types\Type

isAvailable() public static method

Check if an image type is available
public static isAvailable ( $type ) : boolean
$type
return boolean

Property Details

$typesMap protected static property

protected static $typesMap