PHP Class Brabijan\Images\ImagePipe

Author: Jan Brabec ([email protected])
Inheritance: extends Nette\Object
Afficher le fichier Open project: brabijan/images Class Usage Examples

Méthodes publiques

Свойство Type Description
$onBeforeSaveThumbnail array

Protected Properties

Свойство Type Description
$assetsDir string
$namespace string | null

Méthodes publiques

Méthode Description
__construct ( $assetsDir, $wwwDir, Nette\Http\Request $httpRequest )
getAssetsDir ( ) : string
getOriginalPrefix ( ) : string
getPath ( ) : string
request ( string $image, null $size = NULL, null $flags = NULL, boolean $strictMode = FALSE ) : string
setAssetsDir ( $dir )
setNamespace ( $namespace )
setOriginalPrefix ( $originalPrefix )
setPath ( $path )

Private Methods

Méthode Description
checkSettings ( )
mkdir ( string $dir ) : void

Method Details

__construct() public méthode

public __construct ( $assetsDir, $wwwDir, Nette\Http\Request $httpRequest )
$assetsDir
$wwwDir
$httpRequest Nette\Http\Request

getAssetsDir() public méthode

public getAssetsDir ( ) : string
Résultat string

getOriginalPrefix() public méthode

public getOriginalPrefix ( ) : string
Résultat string

getPath() public méthode

public getPath ( ) : string
Résultat string

request() public méthode

public request ( string $image, null $size = NULL, null $flags = NULL, boolean $strictMode = FALSE ) : string
$image string
$size null
$flags null
$strictMode boolean
Résultat string

setAssetsDir() public méthode

public setAssetsDir ( $dir )
$dir

setNamespace() public méthode

public setNamespace ( $namespace )
$namespace

setOriginalPrefix() public méthode

public setOriginalPrefix ( $originalPrefix )
$originalPrefix

setPath() public méthode

public setPath ( $path )
$path

Property Details

$assetsDir protected_oe property

protected string $assetsDir
Résultat string

$namespace protected_oe property

protected string|null $namespace
Résultat string | null

$onBeforeSaveThumbnail public_oe property

public array $onBeforeSaveThumbnail
Résultat array