[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/webform/includes/ -> webform.components.inc (summary)

(no description)

File Size: 906 lines (36 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 23 functions

  webform_components_page()
  theme_webform_components_page()
  webform_components_form()
  theme_webform_components_form()
  _webform_components_form_rows()
  webform_components_form_validate()
  webform_components_form_submit()
  webform_component_edit_form()
  webform_component_edit_form_validate()
  webform_component_edit_form_submit()
  webform_component_delete_form()
  webform_component_delete_form_submit()
  webform_component_insert()
  webform_component_update()
  webform_component_delete()
  webform_component_clone()
  webform_component_feature()
  webform_component_list()
  webform_component_select()
  theme_webform_component_select()
  webform_component_parent_keys()
  webform_component_defaults()
  webform_validate_unique()

Functions
Functions that are not part of a class:

webform_components_page($node)   X-Ref
Overview page of all components for this webform.


theme_webform_components_page($node, $form)   X-Ref
Theme the output of the main components page.

This theming provides a way to toggle between the editing modes if Form
Builder module is available.

webform_components_form($form_state, $node)   X-Ref
The table-based listing of all components for this webform.


theme_webform_components_form($form)   X-Ref
Theme the node components form. Use a table to organize the components.

param: $form
return:

_webform_components_form_rows($node, $cid, $component, $level, &$form, &$rows, &$add_form)   X-Ref
No description

webform_components_form_validate($form, &$form_state)   X-Ref
No description

webform_components_form_submit($form, &$form_state)   X-Ref
No description

webform_component_edit_form(&$form_state, $node, $component, $clone = FALSE)   X-Ref
No description

webform_component_edit_form_validate($form, &$form_state)   X-Ref
Field name validation for the webform unique key. Must be alphanumeric.


webform_component_edit_form_submit($form, &$form_state)   X-Ref
No description

webform_component_delete_form($form_state, $node, $component)   X-Ref
No description

webform_component_delete_form_submit($form, &$form_state)   X-Ref
No description

webform_component_insert(&$component)   X-Ref
Insert a new component into the database.

param: $component

webform_component_update($component)   X-Ref
Update an existing component with new values.

param: $component

webform_component_delete($node, $component)   X-Ref
No description

webform_component_clone(&$node, &$component)   X-Ref
Recursively insert components into the database.

param: $node
param: $component

webform_component_feature($type, $feature)   X-Ref
Check if a component has a particular feature.


webform_component_list($node, $component_filter = NULL, $indent = TRUE, $optgroups = FALSE)   X-Ref
Create a list of components suitable for a select list.

param: $node
param: $component_filter
param: $indent
param: $optgroups

webform_component_select($element)   X-Ref
A Form API process function to expand a component list into checkboxes.


theme_webform_component_select($element)   X-Ref
Theme the contents of a Webform component select element.


webform_component_parent_keys($node, $component)   X-Ref
Find a components parents within a node.


webform_component_defaults(&$component)   X-Ref
Populate a component with the defaults for that type.


webform_validate_unique($element, $form_state)   X-Ref
Validate an element value is unique with no duplicates in the database.




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7