Class Progress

Base class for workflow progresses.

Concrete\Core\Foundation\Object
Extended by Concrete\Core\Workflow\Progress\Progress

Methods summary

public Concrete\Core\Workflow\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
# getWorkflowProgressCategoryHandle( )

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 Concrete\Core\Workflow\Request\Request
# getWorkflowRequestObject( )

Get the WorkflowRequest object for the current WorkflowProgress object.

public static
# __callStatic( $name, $arguments )
public static Concrete\Core\Workflow\Progress\Progress
# create( string $wpCategoryHandle, Concrete\Core\Workflow\Workflow $wf, Concrete\Core\Workflow\Request\Request $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 Concrete\Core\Foundation\Object

$error