Class Version

Handles regular and retina thumbnails. e.g. Each thumbnail type has two versions of itself the regular one and the 2x one.

Methods summary

public
# __construct( $directoryName, $handle, $name, $width, $height, $isDoubledVersion = false )
public
# setHandle( mixed $handle )
public
# setName( mixed $name )
public
# setHeight( mixed $height )
public mixed
# getHandle( )
public string
# getName( )
public string
# getDisplayName( string $format = 'html' )

Returns the display name for this thumbnail type version (localized and escaped accordingly to $format)

public
# setWidth( mixed $width )
public mixed
# getWidth( )
public mixed
# getHeight( )
public
# setDirectoryName( mixed $directoryName )
public mixed
# getDirectoryName( )
public static
# getByHandle( $handle )
public

Properties summary

protected $directoryName
#
protected $handle
#
protected $name
#
protected $width
#
protected $height
#
protected $isDoubledVersion
#