Version
class Version (View source)
Handles regular and retina thumbnails. e.g. Each thumbnail type has two versions of itself the regular one and the 2x one.
Properties
protected | $directoryName | ||
protected | $handle | ||
protected | $name | ||
protected | $sizingMode | ||
protected | $width | ||
protected | $height | ||
protected | $isDoubledVersion |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
Returns the display name for this thumbnail type version (localized and escaped accordingly to $format)
No description
No description
No description
No description
No description
No description
Details
__construct($directoryName, $handle, $name, $width, $height, $isDoubledVersion = false, $sizingMode = ThumbnailType::RESIZE_DEFAULT)
No description
setHandle(mixed $handle)
No description
setName(mixed $name)
No description
setSizingMode(mixed $sizingMode)
No description
setHeight($height)
No description
mixed
getHandle()
No description
string
getName()
No description
string
getSizingMode()
No description
getSizingModeDisplayName()
No description
string
getDisplayName(string $format = 'html')
Returns the display name for this thumbnail type version (localized and escaped accordingly to $format)
setWidth(mixed $width)
No description
mixed
getWidth()
No description
mixed
getHeight()
No description
setDirectoryName(mixed $directoryName)
No description
mixed
getDirectoryName()
No description
static
getByHandle($handle)
No description
getFilePath(Version $fv)
No description