CustomFields
Methods
Invoke via \Components\Settings\CustomFields::method()
Click a method name to copy it.
Deletes a record from the database
Parameters
$iCustomFieldId
int
A record's custom_field_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$iCustomFieldId
int
A record's custom_field_id
Return a set of records from the database
Returns a custom field from its component and field name
Gets a single field from a record
Parameters
$iCustomFieldId
int
A record's custom_field_id
Returns the number of records in the database (matching the filter if specified)
Returns the form for a custom field
If the custom field contains options, return them as an array
Saves a record into the database
Saves a specific column of a row into a database
Parameters
$iCustomFieldId
int
A record's custom_field_id
Suffix all datacolumn's in the supplied form with the supplied string, allowing the custom field form to be unique when included in certain contexts such as
Automation conditions.
Return
The uniquified form.
Suffix all id's in the supplied form with the supplied Id, allowing the custom field form to be unique when included in certain contexts such as
Automation conditions.
Return
The uniquified form.