[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/project_issue/includes/ -> issue_node_form.inc (summary)

(no description)

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

Defines 8 functions

  project_issue_add_redirect_page()
  project_issue_pick_project_page()
  project_issue_pick_project_form()
  project_issue_pick_project_form_validate()
  project_issue_pick_project_form_submit()
  _project_issue_form()
  _project_issue_validate()
  _project_issue_insert()

Functions
Functions that are not part of a class:

project_issue_add_redirect_page($project = NULL, $category = NULL)   X-Ref
Redirect node/add/project_issue/* to node/add/project-issue/*.


project_issue_pick_project_page()   X-Ref
No description

project_issue_pick_project_form(&$form_state)   X-Ref
Form builder for a simple form to select a project when creating a new
issue (as the first "page", but this is not really a multi-page form).


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

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

_project_issue_form($node, $form_state, $include_metadata_fields = FALSE)   X-Ref
Private helper to implement hook_form().

Create the project issue node form.

param: $node
param: $include_metadata_fields

_project_issue_validate($node)   X-Ref
Private helper to implement hook_validate().

Ensures that the issue node form has valid values for all required fields.
We use hook_validate() here instead of a #validate handler or even defining
project_issue_node_form_validate() since if we did, node_form_validate()
itself would not be invoked, which would lead to all kinds of problems,
including hook_nodeapi('validate') never being invoked.

param: $node

_project_issue_insert($node)   X-Ref
Private helper to implement hook_insert().

param: $node



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