TemplateService
FinalYes
Table of Contents
Methods
- __construct() : mixed
- getB2eEmployeeTemplateList() : TemplateCollection
- getB2eEmployeeTemplateListCount() : int
- getById() : Template|null
- updateTitle() : Result
Methods
__construct()
public
__construct([TemplateRepository|null $templateRepository = null ]) : mixed
Parameters
- $templateRepository : TemplateRepository|null = null
getB2eEmployeeTemplateList()
public
getB2eEmployeeTemplateList(ConditionTree $filter[, int $limit = 10 ][, int $offset = 0 ]) : TemplateCollection
Parameters
- $filter : ConditionTree
- $limit : int = 10
- $offset : int = 0
Return values
TemplateCollectiongetB2eEmployeeTemplateListCount()
public
getB2eEmployeeTemplateListCount(ConditionTree $filter) : int
Parameters
- $filter : ConditionTree
Return values
intgetById()
public
getById(int $templateId) : Template|null
Parameters
- $templateId : int
Return values
Template|nullupdateTitle()
public
updateTitle(int $templateId, string $title) : Result
Parameters
- $templateId : int
- $title : string