class Type (View source)

Constants

RESIZE_PROPORTIONAL

RESIZE_EXACT

RESIZE_DEFAULT

Properties

protected $ftTypeHandle
protected $ftTypeName
protected $ftTypeWidth
protected $ftTypeHeight
protected $ftTypeSizingMode
protected $ftTypeIsRequired
protected $ftTypeID

Methods

setHandle(mixed $ftTypeHandle)

No description

mixed
getHandle()

No description

mixed
getID()

No description

requireType()

No description

mixed
isRequired()

No description

setName(mixed $ftTypeName)

No description

mixed
getName()

No description

setSizingMode($ftTypeSizingMode = self::RESIZE_DEFAULT)

No description

string
getSizingMode()

No description

getSizingModeDisplayName()

No description

string
getDisplayName(string $format = 'html')

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

setWidth(mixed $ftTypeWidth)

No description

setHeight(mixed $ftTypeHeight)

No description

mixed
getWidth()

No description

mixed
getHeight()

No description

save()

No description

delete()

No description

getBaseVersion()

No description

getDoubledVersion()

No description

Details

setHandle(mixed $ftTypeHandle)

No description

Parameters

mixed $ftTypeHandle

mixed getHandle()

No description

Return Value

mixed

mixed getID()

No description

Return Value

mixed

requireType()

No description

mixed isRequired()

No description

Return Value

mixed

setName(mixed $ftTypeName)

No description

Parameters

mixed $ftTypeName

mixed getName()

No description

Return Value

mixed

setSizingMode($ftTypeSizingMode = self::RESIZE_DEFAULT)

No description

Parameters

$ftTypeSizingMode

string getSizingMode()

No description

Return Value

string

getSizingModeDisplayName()

No description

string getDisplayName(string $format = 'html')

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

Parameters

string $format

= 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display name won't be escaped.

Return Value

string

setWidth(mixed $ftTypeWidth)

No description

Parameters

mixed $ftTypeWidth

setHeight(mixed $ftTypeHeight)

No description

Parameters

mixed $ftTypeHeight

mixed getWidth()

No description

Return Value

mixed

mixed getHeight()

No description

Return Value

mixed

save()

No description

delete()

No description

getBaseVersion()

No description

getDoubledVersion()

No description