[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/ctools/includes/ -> form.inc (summary)

(no description)

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

Defines 4 functions

  ctools_build_form()
  ctools_rebuild_form()
  ctools_process_form()
  ctools_validate_form()

Functions
Functions that are not part of a class:

ctools_build_form($form_id, &$form_state)   X-Ref
Build a form, similar to drupal_get_form(). However, arguments
to the form builder are not sent through. Instead, the $form_state
can be given all the necessary data to fully utilize the form.


ctools_rebuild_form($form_id, &$form_state, $args, $form_build_id = NULL)   X-Ref
ctools' replacement of drupal_rebuild_form.

This change merely respects a form's wishes not to be cached.

ctools_process_form($form_id, &$form, &$form_state)   X-Ref
ctools' replacement for drupal_process_form that accepts commands
not to redirect, as well as forcing processing of 'get' method forms.


ctools_validate_form($form_id, $form, &$form_state)   X-Ref
The original version of drupal_validate_form does not have an override for
the static check to only validate a form id once. Unfortunately, we need
to be able to override this.




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