Class Workflow

Description

Superclass for all Workflows.

All implementing classes should overwrite the methods marked with:
TO BE OVERWRITTEN!

  • version: $Id: Workflow.php,v 1.3 2006/11/26 22:04:00 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License


			
Direct descendents
Class Description
PublishingWorkflow The PublishingWorkflow is a really simple Workflow.
SingleReviewWorkflow The SingleReviewWorkflow is a Workflow where one Person of a specified User Group has to accept the submitted Changes.
Method Summary
Workflow Workflow ()
void getActivityID ()
void getDescription ()
void getItem ()
void getName ()
void initWorkflow ()
void performActivity ( $activityID)
Methods
Constructor Workflow (line 48)

Creates a new Workflow Instance.

Workflow Workflow ()
getActivityID (line 80)

Get the current Step of this Workflow.

If the Workflow has just started and no Activity has performed it returns null. Might be overwritten...

void getActivityID ()
getDescription (line 108)

Return the Description of this Workflow.


TO BE OVERWRITTEN!

void getDescription ()

Redefined in descendants as:
getItem (line 69)

Get the Item for this Workflow instance.


DO NOT OVERWRITE!

void getItem ()
getName (line 98)

Return the Name of this Workflow.

The Name should be a short String.
TO BE OVERWRITTEN!

void getName ()

Redefined in descendants as:
getPossibleActivities (line 141)

Return the next possible Activities.

If there are no more Activities the Array has a length of 0.
TO BE OVERWRITTEN!

array getPossibleActivities ()

Redefined in descendants as:
initWorkflow (line 119)

Will be called when the WorkflowService instantiates a new Object of this Type.

Overwrite this method to do some initialization work within your Workflow.
TO BE OVERWRITTEN!

void initWorkflow ()

Redefined in descendants as:
performActivity (line 128)

Return whether the requested Activity could be performed.


TO BE OVERWRITTEN!

void performActivity ( $activityID)
  • $activityID

Redefined in descendants as:

Documentation generated by phpDocumentor 1.3.1