This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Model_WorkflowProgress

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_WorkflowProgress

Direct known subclasses

WorkflowProgress

Abstract
Package: Workflow
Copyright: Copyright (c) 2003-2012 concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/models/workflow/progress/model.php

Methods summary

public Workflow
# getWorkflowObject( )

Gets the Workflow object attached to this WorkflowProgress object

public
# getWorkflowProgressResponseObject( )

Gets an optional WorkflowResponse object. This is set in some cases

public
public
# getWorkflowProgressDateLastAction( )

Gets the date of the last action

public
# getWorkflowProgressID( )

Gets the ID of the progress object

public
# getWorkflowProgressCategoryID( )

Get the category ID

public datetime
# getWorkflowProgressDateAdded( )

Gets the date the WorkflowProgress object was added

public WorkflowRequest
# getWorkflowRequestObject( )

Get the WorkflowRequest object for the current WorkflowProgress object

public static
# add( $wpCategoryHandle, Workflow $wf, WorkflowRequest $wr )

Creates a WorkflowProgress object (which will be assigned to a Page, File, etc... in our system.

public
# delete( )
public static
# getByID( $wpID )
public static
public
# start( )

The function that is automatically run when a workflowprogress object is started

public
public WorkflowProgressResponse
# runTask( $task, $args = array() )

Attempts to run a workflow task on the bound WorkflowRequest object first, then if that doesn't exist, attempts to run it on the current WorkflowProgress object

public
abstract public
abstract public
public
public
public
abstract public

Properties summary

protected $wpID
#
protected $wpDateAdded
#
protected $wfID
#
protected $response
#
protected $wpDateLastAction
#

Properties inherited from Concrete5_Library_Object

$error