class TimesheetDelete extends AbstractTimesheet

Delete an existing timesheet record

Traits

Methods

getControlId()

Get control ID

setControlId($controlId = null)

Set control ID

__construct(string $controlId = null)

Initializes the class with the given parameters.

writeXml(XMLWriter $xml)

Write the function block XML

array
getCustomFields()

Get custom fields

setCustomFields(array $customFields)

Set custom fields

int|string
getRecordNo()

No description

setRecordNo(int|string $recordNo)

No description

string
getEmployeeId()

No description

setEmployeeId(string $employeeId)

No description

getBeginDate()

No description

setBeginDate(DateType $beginDate)

No description

string
getDescription()

No description

setDescription(string $description)

No description

string
getAttachmentsId()

No description

setAttachmentsId(string $attachmentsId)

No description

string
getAction()

No description

setAction(string $action)

No description

setEntries(AbstractTimesheetEntry[] $entries)

No description

Details

in AbstractFunction at line line 35
getControlId()

Get control ID

in AbstractFunction at line line 46
setControlId($controlId = null)

Set control ID

Parameters

$controlId

Exceptions

InvalidArgumentException

in AbstractFunction at line line 67
__construct(string $controlId = null)

Initializes the class with the given parameters.

Parameters

string $controlId Control ID, default=random UUID

at line line 35
writeXml(XMLWriter $xml)

Write the function block XML

Parameters

XMLWriter $xml

in CustomFieldsTrait at line line 33
array getCustomFields()

Get custom fields

Return Value

array

in CustomFieldsTrait at line line 43
setCustomFields(array $customFields)

Set custom fields

Parameters

array $customFields

in AbstractTimesheet at line line 53
int|string getRecordNo()

Return Value

int|string

in AbstractTimesheet at line line 61
setRecordNo(int|string $recordNo)

Parameters

int|string $recordNo

in AbstractTimesheet at line line 69
string getEmployeeId()

Return Value

string

in AbstractTimesheet at line line 77
setEmployeeId(string $employeeId)

Parameters

string $employeeId

in AbstractTimesheet at line line 85
DateType getBeginDate()

Return Value

DateType

in AbstractTimesheet at line line 93
setBeginDate(DateType $beginDate)

Parameters

DateType $beginDate

in AbstractTimesheet at line line 101
string getDescription()

Return Value

string

in AbstractTimesheet at line line 109
setDescription(string $description)

Parameters

string $description

in AbstractTimesheet at line line 117
string getAttachmentsId()

Return Value

string

in AbstractTimesheet at line line 125
setAttachmentsId(string $attachmentsId)

Parameters

string $attachmentsId

in AbstractTimesheet at line line 133
string getAction()

Return Value

string

in AbstractTimesheet at line line 141
setAction(string $action)

Parameters

string $action

in AbstractTimesheet at line line 149
AbstractTimesheetEntry[] getEntries()

Return Value

AbstractTimesheetEntry[]

in AbstractTimesheet at line line 157
setEntries(AbstractTimesheetEntry[] $entries)

Parameters

AbstractTimesheetEntry[] $entries