Type
class Type (View source)
Constants
RESIZE_PROPORTIONAL |
Thumbnail sizing mode: proportional. |
RESIZE_EXACT |
Thumbnail sizing mode: exact dimensions. |
RESIZE_DEFAULT |
Default thumbnail sizing mode. |
Methods
static Version[]
getVersionList()
Get the list of all the available thumbnail type versions.
static
static Type|null
getByHandle(string $ftTypeHandle)
Get a thumbnail type given its handle.
static string[]
getSizingOptions()
Get all the available thumbnail sizing options.
Details
static Type[]
getList()
Get the list of all the available thumbnail types.
static Version[]
getVersionList()
Get the list of all the available thumbnail type versions.
static
exportList(SimpleXMLElement $node)
Export the list of all the thumbnail types.
static Type|null
getByID(int $id)
Get a thumbnail type given its id.
static Type|null
getByHandle(string $ftTypeHandle)
Get a thumbnail type given its handle.
static string[]
getSizingOptions()
Get all the available thumbnail sizing options.