Class WorkflowController
- CComponent
- CBaseController
- CController
- X2Controller
- x2base
- WorkflowController
Package: application\modules\workflow\controllers
Located at x2engine/protected/modules/workflow/controllers/WorkflowController.php
Located at x2engine/protected/modules/workflow/controllers/WorkflowController.php
public
array
|
#
accessRules( )
Specifies the access control rules. This method is used by the 'accessControl' filter. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
actionGetWorkflow( mixed $workflowId, mixed $modelId, mixed $type )
Render funnel for inline workflow widget |
public
|
#
renderFunnelView( mixed $workflowId, mixed $dateRange, mixed $users = '', mixed $modelId = 0, mixed $modelType = '' )
Render funnel for workflow view |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
actionAjaxAddADeal( integer $workflowId, integer $stageNumber, integer $modelId = null, string $type, mixed $recordName = null )
Called via ajax to add a deal to the pipeline |
public
|
#
actionCompleteStage( mixed $workflowId, mixed $stageNumber, mixed $modelId, mixed $type, mixed $comment = '' )
|
public
|
|
public
|
#
getStageMemberDataProvider( string $type, mixed $workflowId, mixed $dateRange, mixed $stage, mixed $user )
Get a data provider for members of a given type in a given stage |
public
|
#
actionGetStageMembers( mixed $id, mixed $stage, mixed $start, mixed $end, mixed $range, mixed $users, mixed $modelType )
|
public
|
#
getStageMembers( mixed $workflowId, mixed $stage, mixed $start, mixed $end, mixed $range, mixed $users, mixed $modelType = '' )
|
public
|
#
actionGetStageValue( mixed $id, mixed $stage, mixed $users, mixed $modelType, mixed $start, mixed $end )
|
public
|
|
public
|
|
protected
|
|
public
|
|
public
|
#
actionGetStageNames( mixed $workflowId, mixed $optional = 'true' )
Used to populate options of stage name dropdowns |
public
|
|
public
|
|
public static
|
#
getDateRange( mixed $startKey = 'start', mixed $endKey = 'end', mixed $rangeKey = 'range' )
Calls getDateRange and sets to default range to 'all' if the date range is the expected close date date range |
public
|
#
insertMenu( array $selectOptions = array(),
Create a menu for Process |
__construct(),
afterAction(),
afterRender(),
beforeRender(),
clearPageStates(),
createAbsoluteUrl(),
createAction(),
createActionFromMap(),
createUrl(),
filterAccessControl(),
filterAjaxOnly(),
filterPostOnly(),
forward(),
getAction(),
getActionParams(),
getCachingStack(),
getClips(),
getId(),
getLayoutFile(),
getModule(),
getPageState(),
getRoute(),
getUniqueId(),
getViewFile(),
getViewPath(),
init(),
invalidActionParams(),
isCachingStackEmpty(),
loadPageStates(),
missingAction(),
processDynamicOutput(),
processOutput(),
recordCachingAction(),
redirect(),
refresh(),
renderClip(),
renderDynamic(),
renderDynamicInternal(),
renderPartial(),
renderText(),
replaceDynamicOutput(),
run(),
runAction(),
runActionWithFilters(),
savePageStates(),
setAction(),
setPageState()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
STATE_INPUT_NAME
|
public
string
|
$modelClass | "Workflow" |
$actionMenu,
$breadcrumbs,
$layout,
$leftPortlets,
$leftWidgets,
$menu,
$noBackdrop,
$portlets
|
$defaultAction
|
$action,
$actionParams,
$cachingStack,
$clips,
$id,
$module,
$pageTitle,
$route,
$uniqueId,
$viewPath
|