Eventum:Workflow API

Eventum Menu: Home - Documentation - FAQ - Help

The workflow API is used to provide custom functionality to Eventum. The basic idea is when an event happens (new issue, new note, blocked email, etc.) Eventum calls the workflow class specified for that project.

[edit] Getting Started

To write your own Workflow class create a file named "class.my_name.php" in /eventum/include/workflow/. In that file, create a class named "my_name_Workflow_Backend" that extends "Abstract_Workflow_Backend". Now you can add methods to that class to handle specific events. You can copy the method signatures from /eventum/include/workflow/class.abstract_workflow_backend.php to get started.
An example workflow implementation is in /eventum/include/workflow/class.example_workflow.php.

Once you have your class created you must set your project to use it.

Your project should now be using your workflow class.

[edit] Individual methods

Please see /eventum/include/workflow/class.abstract_workflow_backend.php for the individual methods you can override.

[edit] Future Direction

As Eventum is developed more methods will be added to the workflow class. If you need a new workflow method, or you need more arguments passed to an existing method please email the Eventum development list.

Retrieved from "http://forge.mysql.com/wiki/Eventum:Workflow_API"

This page has been accessed 1,790 times. This page was last modified 13:31, 23 June 2009.

Find

Browse
MySQLForge
Main Page
Current events
Recent changes
Random page
Help
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Special pages
New pages
File list
Statistics
Bug reports
More...