Properties

$id

$id : 

Type

$name

$name : string

Type

string — Name

$width

$width : integer

Type

integer — Width

$height

$height : integer

Type

integer — Height

$products

$products : boolean

Type

boolean — Apply to products

$categories

$categories : integer

Type

integer — Apply to categories

$manufacturers

$manufacturers : integer

Type

integer — Apply to manufacturers

$suppliers

$suppliers : integer

Type

integer — Apply to suppliers

$scenes

$scenes : integer

Type

integer — Apply to scenes

$stores

$stores : integer

Type

integer — Apply to store

$definition

$definition : 

Type

$images_types_cache

$images_types_cache : array

Type

array — Image types cache

$images_types_name_cache

$images_types_name_cache : 

Type

$webserviceParameters

$webserviceParameters : 

Type

Methods

getImagesTypes()

getImagesTypes(  $type = null) : array

Returns image type definitions

Parameters

$type

Returns

array —

Image type definitions

typeAlreadyExists()

typeAlreadyExists(string  $typeName) : integer

Check if type already is already registered in database

Parameters

string $typeName

Name

Returns

integer —

Number of results found

getByNameNType()

getByNameNType(string  $name, string  $type = null,   $order = null) 

Finds image type definition by name and type

Parameters

string $name
string $type
$order

getFormatedName()

getFormatedName(  $name) 

Parameters

$name