Entity
FinalYes
Class Entity
Table of Contents
Methods
- changeCategory() : Result
- deleteItem() : Result
- getColumns() : array<string|int, mixed>
- getCounters() : array<string|int, mixed>
- getDesktopLink() : string
- getEntityLink() : string|null
- getEntityTypeId() : int
- getEntityTypeName() : string
- getInstance() : Entity
- getList() : array<string|int, mixed>
- getSearchPresetsAndCounters() : array<string|int, mixed>
- prepare() : Entity
- prepareFilter() : void
- setControllerStrategy() : Entity
- setEntityTypeName() : Entity
- setItemPreparer() : Entity
- setPageNavigation() : Entity
- updateItemStage() : Result
Methods
changeCategory()
public
changeCategory(array<string|int, mixed> $ids, int $categoryId) : Result
Parameters
- $ids : array<string|int, mixed>
- $categoryId : int
Return values
ResultdeleteItem()
public
deleteItem(int $id[, array<string|int, mixed> $params = [] ]) : Result
Parameters
- $id : int
- $params : array<string|int, mixed> = []
Return values
ResultgetColumns()
public
getColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>getCounters()
public
getCounters(int $userId, int|null $categoryId) : array<string|int, mixed>
Parameters
- $userId : int
- $categoryId : int|null
Return values
array<string|int, mixed>getDesktopLink()
public
getDesktopLink(int|null $categoryId) : string
Parameters
- $categoryId : int|null
Return values
stringgetEntityLink()
public
getEntityLink() : string|null
Return values
string|nullgetEntityTypeId()
public
getEntityTypeId() : int
Return values
intgetEntityTypeName()
public
getEntityTypeName() : string
Return values
stringgetInstance()
public
static getInstance(string $entityTypeName) : Entity
Parameters
- $entityTypeName : string
Return values
EntitygetList()
public
getList() : array<string|int, mixed>
Return values
array<string|int, mixed>getSearchPresetsAndCounters()
public
getSearchPresetsAndCounters(int $userId[, int|null $currentCategoryId = null ]) : array<string|int, mixed>
Parameters
- $userId : int
- $currentCategoryId : int|null = null
Return values
array<string|int, mixed>prepare()
public
prepare(array<string|int, mixed> $params) : Entity
Parameters
- $params : array<string|int, mixed>
Return values
EntityprepareFilter()
public
prepareFilter(Entity $entity) : void
Parameters
- $entity : Entity
setControllerStrategy()
public
setControllerStrategy(StrategyInterface $strategy) : Entity
Parameters
- $strategy : StrategyInterface
Return values
EntitysetEntityTypeName()
public
setEntityTypeName(string $entityTypeName) : Entity
Parameters
- $entityTypeName : string
Return values
EntitysetItemPreparer()
public
setItemPreparer(Base $preparer) : Entity
Parameters
- $preparer : Base
Return values
EntitysetPageNavigation()
public
setPageNavigation(PageNavigation $pageNavigation) : Entity
Parameters
- $pageNavigation : PageNavigation
Return values
EntityupdateItemStage()
public
updateItemStage(int $id, int $stageId) : Result
Parameters
- $id : int
- $stageId : int