PHP Class Craft\Imager_ImageModel

Inheritance: extends craft\BaseModel
Datei anzeigen Open project: aelvan/Imager-Craft

Public Methods

Method Description
__construct ( null $imagePath = null, null $imageUrl = null, $paths = null, $transform = null ) Constructor
__toString ( )
getBase64Encoded ( )
getDataUri ( )
getExtension ( )
getHeight ( )
getMimeType ( )
getPath ( )
getSize ( $unit = 'b', $precision = 2 )
getUrl ( )
getWidth ( )

Protected Methods

Method Description
defineAttributes ( )

Method Details

__construct() public method

Constructor
public __construct ( null $imagePath = null, null $imageUrl = null, $paths = null, $transform = null )
$imagePath null
$imageUrl null

__toString() public method

public __toString ( )

defineAttributes() protected method

protected defineAttributes ( )

getBase64Encoded() public method

public getBase64Encoded ( )

getDataUri() public method

public getDataUri ( )

getExtension() public method

public getExtension ( )

getHeight() public method

public getHeight ( )

getMimeType() public method

public getMimeType ( )

getPath() public method

public getPath ( )

getSize() public method

public getSize ( $unit = 'b', $precision = 2 )

getUrl() public method

public getUrl ( )

getWidth() public method

public getWidth ( )