Custom Fields Values model class

class CustomFieldValue extends AbstractModel

Properties summary

Type Property Description
int $id The unique id of the custom field value
int $fieldId The unique id of the field in tblcustomfields
int $relatedId The related id of the field relationship. tblclients.id, tbltickets.id, tblhostingaddons.id, tblhosting.id
string $value The stored value of the custom field
Addon $addon
Client $client
Service $service
CustomField $customField The custom field this value belongs to

Methods summary

Return Type Method Name Description
BelongsTo|CustomField customField() A custom field value belongs to a single custom field.
BelongsTo|Addon addon() -
BelongsTo|Client client() -
BelongsTo|Service service() -

Details

BelongsTo|CustomField customField ()

A custom field value belongs to a single custom field.

Return Value

BelongsTo|CustomField

BelongsTo|Addon addon ()

Return Value

BelongsTo|Addon

BelongsTo|Client client ()

Return Value

BelongsTo|Client

BelongsTo|Service service ()

Return Value

BelongsTo|Service