Function __global->actual_edit_catalogue_field
Definitions
sources/catalogues2.php
- Edit a catalogue field.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$id | AUTO_LINK | required parameter | N/A | N/A | The ID of the field |
$c_name | ID_TEXT | required parameter | N/A | N/A | The name of the catalogue |
$name | ?SHORT_TEXT | required parameter | N/A | N/A | The name of the field (null: do not change) |
$description | ?LONG_TEXT | required parameter | N/A | N/A | Description for the field (null: do not change) |
$order | integer | required parameter | N/A | N/A | The field order (the field order determines what order the fields are displayed within an entry) |
$defines_order | BINARY | required parameter | N/A | N/A | Whether the field defines entry ordering |
$visible | BINARY | required parameter | N/A | N/A | Whether the field is visible when an entry is viewed |
$sensitive | BINARY | required parameter | N/A | N/A | Whether this field contains sensitive or personal data |
$default | LONG_TEXT | required parameter | N/A | N/A | The default value for the field |
$required | BINARY | required parameter | N/A | N/A | Whether the field is required |
$is_sortable | BINARY | required parameter | N/A | N/A | Whether the field is sortable |
$include_in_main_search | BINARY | required parameter | N/A | N/A | Whether the field is included in main search |
$allow_template_search | BINARY | required parameter | N/A | N/A | Whether to allow template search |
$put_in_category | BINARY | 1 | N/A | N/A | Whether the field is to be shown in category views (not applicable for the list display type) |
$put_in_search | BINARY | 1 | N/A | N/A | Whether the field is to be shown in search views (not applicable for the list display type) |
$options | SHORT_TEXT | Blank (empty string) | N/A | N/A | Field options |
$type | ?ID_TEXT | Null | N/A | N/A | The field type (null: do not change) |