Field Type
The field type service is for listing field types that can be set for Profile Fields and Datatable Fields.
fetchAll
array field_type.fetchAll( )
Description
Requests a list of field types.
Return Values
Returns an array of associative arrays. For the possible returned elements see #find
find
array field_type.find( int typeId )
Description
Requests the field type details for the given type ID.
Parameters
typeId
ID of the field type you're requesting.
Return Values
Returns an associative array. The possible returned elements are as follows:
Name | Type | Description |
---|---|---|
type_id | int | ID of the profile that contains this field |
name | string | Field ID |
base_type | string | Database-style field type |
is_public | int | Boolean as integer |
is_public shows whether the field type would be listed in the application interface.
Those types with is_public = 0, are not officially supported and may produce undesired results.
Service
field_type
Methods