conditional_fields_add_js |
./conditional_fields.module |
Adds javascript to the node editing form |
2 |
|
conditional_fields_available_fields_default_values |
./conditional_fields.module |
Load default values from conditional_fields table. |
1 |
|
conditional_fields_check_empty |
./conditional_fields.module |
Checks if a submitted field value is empty |
1 |
|
conditional_fields_content_admin_field |
./conditional_fields.module |
Alteration of the field editing form |
1 |
|
conditional_fields_content_admin_field_controllable |
./conditional_fields.module |
Controllable field settings form |
2 |
|
conditional_fields_content_admin_field_controlling |
./conditional_fields.module |
Controlling field settings form
(just a table containing information about controlled fields) |
1 |
|
conditional_fields_content_admin_field_fieldset |
./conditional_fields.module |
Field editing form: conditional fields fieldset |
2 |
|
conditional_fields_content_admin_field_validate |
./conditional_fields.module |
Check selection of values |
|
2 |
conditional_fields_content_fieldapi |
./conditional_fields.module |
Implementation of hook_content_fieldapi(). |
|
|
conditional_fields_delete_field |
./conditional_fields.module |
Delete a conditonal field's database data |
1 |
|
conditional_fields_fieldgroup_group_edit_form |
./conditional_fields.module |
Alteration of the fieldgroup editing form |
1 |
|
conditional_fields_fieldgroup_remove_group_submit |
./conditional_fields.module |
|
|
1 |
conditional_fields_field_overview_form |
./conditional_fields.module |
Find conditional fields and mark them. |
1 |
|
conditional_fields_field_overview_form_validate |
./conditional_fields.module |
Conditional fields can't change group. |
|
1 |
conditional_fields_forms_submit |
./conditional_fields.module |
Handle saving of conditional field settings.
The controlled field can be either a field or a group |
|
2 |
conditional_fields_form_alter |
./conditional_fields.module |
Implementation of hook_form_alter(). |
|
|
conditional_fields_form_clean_id |
./conditional_fields.module |
form_clean_id in Drupal 6 adds a unique ID check, which messes things up here
Since fields have unique names anyway, we can safely use this wrapper (I hope). |
3 |
|
conditional_fields_get_group |
./conditional_fields.module |
Get the fieldgroup of a field |
3 |
|
conditional_fields_help |
./conditional_fields.module |
|
|
|
conditional_fields_insert_field |
./conditional_fields.module |
Insert into database the data of a new conditional field |
1 |
|
conditional_fields_install |
./conditional_fields.install |
Implementation of hook_install(). |
|
|
conditional_fields_is_triggered |
./conditional_fields.module |
Returns true if the field was triggered
$selected_values The values of the controlling field selected by the user when creating the node
$trigger_values An array containing the information we need to select the trigger values |
3 |
|
conditional_fields_load_data |
./conditional_fields.module |
Returns an array of conditional fields settings for a given node type.
$structure can be either 'flat' or 'row' . 'row' data is data per row,
while 'flat' data is a list of both controlling and controlled fields. |
5 |
|
conditional_fields_menu |
./conditional_fields.module |
Implementation of hook_menu(). |
|
|
conditional_fields_nodeapi |
./conditional_fields.module |
Implementation of hook_nodeapi(). |
|
|
conditional_fields_node_editing_form |
./conditional_fields.module |
Alteration of the node editing form |
1 |
|
conditional_fields_node_editing_form_validate |
./conditional_fields.module |
Validation for node editing form. |
|
1 |
conditional_fields_node_type |
./conditional_fields.module |
Implementation of hook_node_type(). |
|
|
conditional_fields_node_type_delete |
./conditional_fields.module |
Remove conditional fields of a node type |
2 |
|
conditional_fields_node_type_update |
./conditional_fields.module |
Update conditional fields to a new type name |
1 |
|
conditional_fields_perm |
./conditional_fields.module |
Implementation of hook_perm(). |
|
|
conditional_fields_remove_field_settings |
./conditional_fields.module |
|
2 |
|
conditional_fields_save_field |
./conditional_fields.module |
Handle saving of individual controlled field settings
$controlling_fields is a keyed array of controlling fields names and trigger values |
2 |
|
conditional_fields_schema |
./conditional_fields.install |
|
|
|
conditional_fields_set_required_field |
./conditional_fields.module |
Wrapper for conditional_fields_set_required_field_recurse |
1 |
|
conditional_fields_set_required_field_recurse |
./conditional_fields.module |
Recursive function to set required for all conditionally required fields.
This causes Drupal to render conditionally required fields in a way that
indicates they are required when visible. |
1 |
|
conditional_fields_theme |
./conditional_fields.module |
Implementation of hook_theme(). |
|
|
conditional_fields_uninstall |
./conditional_fields.install |
Implementation of hook_uninstall(). |
|
|
conditional_fields_unset_required_field |
./conditional_fields.module |
Unset the #required property and set a #required_field property for internal use. |
2 |
|
conditional_fields_update_field |
./conditional_fields.module |
Update an existing conditonal field's database data |
1 |
|
theme_conditional_fields_form_item |
./conditional_fields.module |
Themes the wrappers around conditional fields.
Note that if you modify the id and classes of these fields,
you have to modify conditional_fields.js accordingly. |
|
|
theme_conditional_fields_manage_marker |
./conditional_fields.module |
Themes a conditional field marker in 'Manage fields'. |
|
|
_conditional_fields_admin |
./conditional_fields.module |
Administration form for conditional fields |
|
1 |
_conditional_fields_admin_submit |
./conditional_fields.module |
|
|
|
_conditional_fields_content_admin_field_remove_submit |
./conditional_fields.module |
|
|
|