Class: PublishingWorkflow

Source Location: /CORE/system/classes/workflow/PublishingWorkflow.php

Class PublishingWorkflow

Class Overview

The PublishingWorkflow is a really simple Workflow.


It saves all changes in a Future version, until the current User publishes these changes. The changes will not be visible to the Public audience, until the User publishes them. We also do not create a thousand Histoty versions, cause only one Future version is updated, until everything is fine.

Located in /CORE/system/classes/workflow/PublishingWorkflow.php [line 45]

Workflow
   |
   --PublishingWorkflow
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: PublishingWorkflow.php,v 1.5 2006/11/26 22:04:00 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Workflow

Workflow::Workflow()
Creates a new Workflow Instance.
Workflow::getActivityID()
Get the current Step of this Workflow.
Workflow::getDescription()
Return the Description of this Workflow.
Workflow::getItem()
Get the Item for this Workflow instance.
Workflow::getName()
Return the Name of this Workflow.
Workflow::getPossibleActivities()
Return the next possible Activities.
Workflow::initWorkflow()
Will be called when the WorkflowService instantiates a new Object of this Type.
Workflow::performActivity()
Return whether the requested Activity could be performed.

[ Top ]
Method Summary
PublishingWorkflow   PublishingWorkflow()  
void   getDescription()  
void   getName()  
void   getPossibleActivities()  
void   initWorkflow()  
void   performActivity()  

[ Top ]
Methods
Constructor PublishingWorkflow  [line 48]

  PublishingWorkflow PublishingWorkflow( )



[ Top ]
getDescription  [line 52]

  void getDescription( )



Redefinition of:
Workflow::getDescription()
Return the Description of this Workflow.

[ Top ]
getName  [line 57]

  void getName( )



Redefinition of:
Workflow::getName()
Return the Name of this Workflow.

[ Top ]
getPossibleActivities  [line 83]

  void getPossibleActivities( )



Redefinition of:
Workflow::getPossibleActivities()
Return the next possible Activities.

[ Top ]
initWorkflow  [line 62]

  void initWorkflow( )



Redefinition of:
Workflow::initWorkflow()
Will be called when the WorkflowService instantiates a new Object of this Type.

[ Top ]
performActivity  [line 67]

  void performActivity( $activityID  )

Parameters:
   $activityID: 


Redefinition of:
Workflow::performActivity()
Return whether the requested Activity could be performed.

[ Top ]