Method |
Description |
|
delete ( ) : void |
Save object to database |
|
deleteAllTasks ( ) : void |
|
|
getById ( integer $id ) : void |
Get the data for the object from database for the given id |
|
getData ( ) : void |
Get the data-elements for the object from database for the given path |
|
getLatestVersion ( boolean $force = false ) : array |
Get latest available version, using $force always returns a version no matter if it is the same as the published one |
|
getRelationData ( string $field, $forOwner, $remoteClassId ) : array |
|
|
getRelationIds ( string $fieldName ) : array |
|
|
getVersions ( ) : array |
get versions from database, and assign it to object |
|
init ( ) |
|
|
saveChildData ( ) |
|
|
update ( ) : void |
Save changes to database, it's an good idea to use save() instead |
|