PHP Class Screen\Image\Types

Afficher le fichier Open project: microweber/screen Class Usage Examples

Protected Properties

Свойство Type Description
$typesMap

Méthodes publiques

Méthode 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 méthode

Returns all the available image types
public static available ( ) : array
Résultat array

getClass() public static méthode

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

isAvailable() public static méthode

Check if an image type is available
public static isAvailable ( $type ) : boolean
$type
Résultat boolean

Property Details

$typesMap protected_oe static_oe property

protected static $typesMap