Method |
Description |
|
__call ( string $method, mixed $arguments ) : mixed |
Makes all public methods of the result object
available to the thumb class |
|
__construct ( mixed $source, array $params = [] ) |
Constructor |
|
__toString ( ) |
Makes it possible to echo the entire object |
|
destination ( ) : Obj |
Build the destination object |
|
error ( ) : Exception |
Returns the exception if available |
|
isObsolete ( ) : boolean |
Checks if the thumbnail is not needed
because the original image is small enough |
|
isThere ( ) : boolean |
Checks if the thumbnail already exists
and is newer than the original file |
|
params ( array $params ) : array |
Makes it possible to pass a string of params
which is shorter and more convenient than
passing a full array of keys and values:
width:300|height:200|crop:true |
|
settingsIdentifier ( ) : string |
Builds a hash for all relevant settings |
|
source ( ) : Media |
Returns the source media object |
|
tag ( array $attr = [] ) : string |
Generates and returns the full html tag for the thumbnail |
|