DealDefaultCategory
extends Category
Table of Contents
Methods
-
__construct()
: mixed
-
delete()
: Result
-
getCategoryIdentifier()
: CategoryIdentifier
-
getCode()
: string
-
getData()
: array<string|int, mixed>
-
getDisabledFieldNames()
: array<string|int, mixed>
-
getEntityTypeId()
: int
-
getId()
: int|null
-
getIsDefault()
: bool
-
getIsSystem()
: bool
-
getItemsFilter()
: array<string|int, mixed>
-
getName()
: string
-
getSingleName()
: string|null
-
getSingleNameIfPossible()
: string
-
getSort()
: int
-
getUISettings()
: array<string|int, mixed>
-
isTrackingEnabled()
: bool
-
jsonSerialize()
: array<string|int, mixed>
-
save()
: Result
-
setEntityTypeId()
: Category
-
setIsDefault()
: Category
-
setName()
: Category
-
setSort()
: Category
__construct()
public
__construct(string $name, int $sort) : mixed
Parameters
-
$name
: string
-
-
$sort
: int
-
delete()
public
delete() : Result
getCategoryIdentifier()
public
getCategoryIdentifier() : CategoryIdentifier
Return values
CategoryIdentifier
getCode()
public
getCode() : string
getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>
getDisabledFieldNames()
public
getDisabledFieldNames() : array<string|int, mixed>
Return values
array<string|int, mixed>
getEntityTypeId()
public
getEntityTypeId() : int
getId()
public
getId() : int|null
getIsDefault()
public
getIsDefault() : bool
getIsSystem()
public
getIsSystem() : bool
getItemsFilter()
public
getItemsFilter([array<string|int, mixed> $filter = [] ]) : array<string|int, mixed>
Parameters
-
$filter
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>
getName()
public
getName() : string
getSingleName()
public
getSingleName() : string|null
Return values
string|null
getSingleNameIfPossible()
public
getSingleNameIfPossible() : string
getSort()
public
getSort() : int
getUISettings()
public
getUISettings() : array<string|int, mixed>
Return values
array<string|int, mixed>
isTrackingEnabled()
public
isTrackingEnabled() : bool
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
save()
public
save() : Result
setEntityTypeId()
public
setEntityTypeId(int $entityTypeId) : Category
Parameters
-
$entityTypeId
: int
-
setIsDefault()
public
setIsDefault(bool $isDefault) : Category
Parameters
-
$isDefault
: bool
-
setName()
public
setName(string $name) : Category
Parameters
-
$name
: string
-
setSort()
public
setSort(int $sort) : Category
Parameters
-
$sort
: int
-