Method |
Description |
|
__construct ( array $properties = [] ) |
|
|
fromJson ( stdClass $json ) |
Populate object from a json object. |
|
getIterator ( ) |
IteratorAggregate::getIterator |
|
offsetExists ( mixed $offset ) : boolean |
ArrayAccess::offsetExists |
|
offsetGet ( mixed $offset ) : mixed |
ArrayAccess::offsetGet |
|
offsetSet ( mixed $offset, mixed $value ) : void |
ArrayAccess::offsetSet |
|
offsetUnset ( mixed $offset ) : void |
ArrayAccess::offsetUnset |
|
readForm ( ) |
Populate this slice from a time entry form. |
|
toArray ( ) |
|
|
toJson ( ) : array |
Get the json representation of this slice. The resulting json contains
the following properties
c - client id
cn - client object
co - costobject id
con - costobject name
d - date
desc - description
e - employee
h - hours
i - slice id
n - note
r - rate
s - submitted
t - type id
tn - type name
b - billable
x - can edit
|
|
toString ( ) : string |
Render this slice as a string. |
|