Template
Table of Contents
Methods
- __construct() : mixed
- add() : TemplateObject
- delete() : bool
- update() : TemplateObject
- withCheckFileRights() : $this
- withDeleteSubTemplates() : $this
- withSkipAgent() : $this
- withUnsafeDelete() : $this
Methods
__construct()
public
__construct(int $userId) : mixed
Parameters
- $userId : int
add()
public
add(array<string|int, mixed> $fields) : TemplateObject
Parameters
- $fields : array<string|int, mixed>
Tags
Return values
TemplateObjectdelete()
public
delete(int $id) : bool
Parameters
- $id : int
Return values
boolupdate()
public
update(int $id, array<string|int, mixed> $fields) : TemplateObject
Parameters
- $id : int
- $fields : array<string|int, mixed>
Tags
Return values
TemplateObjectwithCheckFileRights()
public
withCheckFileRights() : $this
Return values
$thiswithDeleteSubTemplates()
public
withDeleteSubTemplates() : $this
Return values
$thiswithSkipAgent()
public
withSkipAgent() : $this
Return values
$thiswithUnsafeDelete()
public
withUnsafeDelete() : $this