[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/core/ -> workflow_api.php (summary)

Workflow API

Copyright: Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
Copyright: Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
File Size: 113 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  workflow_transition_edge_exists()
  workflow_parse()

Functions
Functions that are not part of a class:

workflow_transition_edge_exists( $p_from_status_id, $p_to_status_id )   X-Ref
Determine if there is a transition possible between two workflow states. The
direction of the transition is factored into this check.

param: int $p_from_status_id Source status ID
param: int $p_to_status_id Destination status ID
return: bool Whether a transition exists in the specified direction

workflow_parse( $p_enum_workflow )   X-Ref
Parse a workflow into a graph-like array of workflow transitions.

param: array The workflow enumeration to parse.
return: array The parsed workflow graph.



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7