append_form_custom_fields
catalogue_file_script
create_selection_list_field_type
delete_form_custom_fields
get_bound_content_entry
get_catalogue_fields
get_fields_hook
has_tied_catalogue
manage_custom_fields_donext_link
manage_custom_fields_entry_points
option_value_from_field_array
parse_field_options
save_form_custom_fields
append_form_custom_fields(\ID_TEXT $content_type, \?ID_TEXT $id, \Tempcode $fields, \Tempcode $hidden, \?array $field_filter= null
, boolean $field_filter_whitelist= true
, boolean $add_separate_header= false
)
package | core_fields |
---|
\ID_TEXT
Content type hook codename
\?ID_TEXT
Content entry ID (null: new entry)
\Tempcode
Fields (passed by reference)
\Tempcode
Hidden Fields (passed by reference)
\?array
Limit fields to a set (null: no limit)
boolean
Whether $field_filter is a whitelist (if false, it is a blacklist)
boolean
Whether to add a separate header above the fields, so long as not all the fields are already under some other header
create_selection_list_field_type(\ID_TEXT $type= ''
, boolean $limit_to_storage_set= false
) : \Tempcode
package | core_fields |
---|
\ID_TEXT
Field type to select
boolean
Whether to only show options in the same storage set as $type
\Tempcode
List of field typesdelete_form_custom_fields(\ID_TEXT $content_type, \ID_TEXT $id)
package | core_fields |
---|
\ID_TEXT
Content type hook codename
\ID_TEXT
Content entry ID
get_bound_content_entry(\ID_TEXT $content_type, \ID_TEXT $id) : \?AUTO_LINK
package | core_fields |
---|
\ID_TEXT
Content type hook codename
\ID_TEXT
Content entry ID
\?AUTO_LINK
Bound catalogue entry ID (null: none)get_catalogue_fields(\?ID_TEXT $catalogue_name = null
) : array
package | core_fields |
---|
\?ID_TEXT
The name of the catalogue (null: all catalogues)
array
The fields (empty array if the catalogue does not exist)get_fields_hook(\ID_TEXT $type) : object
has_tied_catalogue(\ID_TEXT $content_type) : boolean
package | core_fields |
---|
\ID_TEXT
Content type hook codename
boolean
Whether it hasmanage_custom_fields_donext_link(\ID_TEXT $content_type) : array
package | core_fields |
---|
\ID_TEXT
Content type hook codename
array
Extra do-next icon (single item array, or empty array if catalogues not installed)manage_custom_fields_entry_points(\ID_TEXT $content_type) : array
package | core_fields |
---|
\ID_TEXT
Content type hook codename
array
Extra get_entry_points dataoption_value_from_field_array(array $field, string $name, string $default = ''
) : string
package | core_fields |
---|
array
Field map
string
Field name
string
Field default value
string
The valuesave_form_custom_fields(\ID_TEXT $content_type, \ID_TEXT $id, \?ID_TEXT $old_id = null
)
package | core_fields |
---|
\ID_TEXT
Content type hook codename
\ID_TEXT
Content entry ID
\?ID_TEXT
Content entry ID (prior to possible rename) (null: definitely unchanged)