Template extends PublicAction
FinalYes
Table of Contents
Methods
- __construct() : mixed
- add() : array<string|int, mixed>
- Add a new task template
- canExecute() : mixed
- delete() : mixed
- Delete the task template
- find() : mixed
- Get a list of task templates
- get() : mixed
- Get the task template
- getComponentHTML() : mixed
- getErrorCollection() : mixed
- getErrors() : mixed
- getForbiddenMethods() : array<string|int, mixed>
- todo: replace this method with some phpdoc notation
- isVersionGT() : mixed
- startReplication() : array<string|int, mixed>
- Enable replication of the template
- stopReplication() : array<string|int, mixed>
- Disable replication of the template
- update() : array<string|int, mixed>
- Update the task template with some new data
Methods
__construct()
public
__construct() : mixed
add()
Add a new task template
public
add(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>canExecute()
public
canExecute() : mixed
delete()
Delete the task template
public
delete(mixed $id) : mixed
Parameters
- $id : mixed
find()
Get a list of task templates
public
find([array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
- $parameters : array<string|int, mixed> = array()
get()
Get the task template
public
get(mixed $id[, array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
- $id : mixed
- $parameters : array<string|int, mixed> = array()
getComponentHTML()
public
static getComponentHTML(mixed $name[, mixed $template = '' ][, array<string|int, mixed> $callParameters = array() ][, array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
- $name : mixed
- $template : mixed = ''
- $callParameters : array<string|int, mixed> = array()
- $parameters : array<string|int, mixed> = array()
getErrorCollection()
public
getErrorCollection() : mixed
getErrors()
public
getErrors() : mixed
getForbiddenMethods()
todo: replace this method with some phpdoc notation
public
static getForbiddenMethods() : array<string|int, mixed>
Return values
array<string|int, mixed>isVersionGT()
public
isVersionGT() : mixed
startReplication()
Enable replication of the template
public
startReplication(mixed $id) : array<string|int, mixed>
Parameters
- $id : mixed
Tags
Return values
array<string|int, mixed>stopReplication()
Disable replication of the template
public
stopReplication(mixed $id) : array<string|int, mixed>
Parameters
- $id : mixed
Tags
Return values
array<string|int, mixed>update()
Update the task template with some new data
public
update(mixed $id[, array<string|int, mixed> $data = null ]) : array<string|int, mixed>
Parameters
- $id : mixed
- $data : array<string|int, mixed> = null