TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
StageRecord Class Reference
Inheritance diagram for StageRecord:
AbstractRecord

Public Member Functions

 __construct (WorkspaceRecord $workspace, array $record)
 
 getWorkspace ()
 
 getPrevious ()
 
 getNext ()
 
 determineOrder (StageRecord $stageRecord)
 
 isPreviousTo (StageRecord $stageRecord)
 
 isNextTo (StageRecord $stageRecord)
 
 getDefaultComment ()
 
 setInternal ($internal=true)
 
 isInternal ()
 
 isEditStage ()
 
 isPublishStage ()
 
 isExecuteStage ()
 
 isDialogEnabled ()
 
 isPreselectionChangeable ()
 
 areOwnersPreselected ()
 
 areMembersPreselected ()
 
 areEditorsPreselected ()
 
 areResponsiblePersonsPreselected ()
 
 hasPreselection ()
 
 getResponsiblePersons ()
 
 getDefaultRecipients ()
 
 getAllRecipients ()
 
 getPreselectedRecipients ()
 
 isAllowed ()
 
- Public Member Functions inherited from AbstractRecord
 __construct (array $record)
 
 __toString ()
 
 getUid ()
 
 getTitle ()
 

Static Public Member Functions

static get ($uid, array $record=null)
 
static build (WorkspaceRecord $workspace, $uid, array $record=null)
 

Protected Attributes

 $workspace
 
 $internal = false
 
 $responsiblePersons
 
 $defaultRecipients
 
 $preselectedRecipients
 
 $allRecipients
 
- Protected Attributes inherited from AbstractRecord
 $record
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractRecord
 getStagesService ()
 
- Static Protected Member Functions inherited from AbstractRecord
static fetch ($tableName, $uid)
 
static getBackendUser ()
 
static getLanguageService ()
 

Detailed Description

Combined record class

Definition at line 21 of file StageRecord.php.

Constructor & Destructor Documentation

__construct ( WorkspaceRecord  $workspace,
array  $record 
)
Parameters
WorkspaceRecord$workspace
array$record

Definition at line 84 of file StageRecord.php.

References StageRecord\$workspace.

Member Function Documentation

areEditorsPreselected ( )
Returns
bool

Definition at line 253 of file StageRecord.php.

Referenced by StagesService\getPreselectedRecipients(), and StageRecord\hasPreselection().

areMembersPreselected ( )
areOwnersPreselected ( )
areResponsiblePersonsPreselected ( )
Returns
bool

Definition at line 261 of file StageRecord.php.

Referenced by StageRecord\getPreselectedRecipients(), and StageRecord\hasPreselection().

static build ( WorkspaceRecord  $workspace,
  $uid,
array  $record = null 
)
static
Parameters
WorkspaceRecord$workspace
int$uid
array$record
Returns
StageRecord

Definition at line 72 of file StageRecord.php.

References AbstractRecord\$record, and StageRecord\$workspace.

Referenced by WorkspaceRecord\createInternalStage(), and WorkspaceRecord\getStages().

determineOrder ( StageRecord  $stageRecord)
static get (   $uid,
array  $record = null 
)
static
Parameters
int$uid
array$record
Returns
StageRecord

Definition at line 58 of file StageRecord.php.

References AbstractRecord\$record, and WorkspaceRecord\get().

getDefaultComment ( )
Returns
string

Definition at line 169 of file StageRecord.php.

getDefaultRecipients ( )
getNext ( )
Returns
NULL|StageRecord

Definition at line 109 of file StageRecord.php.

References AbstractRecord\getUid(), and StageRecord\getWorkspace().

getPrevious ( )
Returns
NULL|StageRecord

Definition at line 101 of file StageRecord.php.

References AbstractRecord\getUid(), and StageRecord\getWorkspace().

getResponsiblePersons ( )
isAllowed ( )
Returns
bool

Definition at line 357 of file StageRecord.php.

References AbstractRecord\getUid(), StageRecord\isEditStage(), and StageRecord\isExecuteStage().

isDialogEnabled ( )
Returns
bool

Definition at line 221 of file StageRecord.php.

isEditStage ( )
Returns
bool

Definition at line 197 of file StageRecord.php.

References AbstractRecord\getUid(), and StagesService\STAGE_EDIT_ID.

Referenced by StageRecord\determineOrder(), and StageRecord\isAllowed().

isExecuteStage ( )
isInternal ( )
Returns
bool

Definition at line 189 of file StageRecord.php.

References StageRecord\$internal.

Referenced by StageRecord\getAllRecipients().

isNextTo ( StageRecord  $stageRecord)

Determines whether $this is in a later stage compared to $stageRecord.

Parameters
StageRecord$stageRecord
Returns
bool

Definition at line 154 of file StageRecord.php.

References AbstractRecord\getUid().

Referenced by StageRecord\determineOrder().

isPreselectionChangeable ( )
Returns
bool

Definition at line 229 of file StageRecord.php.

isPreviousTo ( StageRecord  $stageRecord)

Determines whether $this is in a previous stage compared to $stageRecord.

Parameters
StageRecord$stageRecord
Returns
bool

Definition at line 136 of file StageRecord.php.

References AbstractRecord\getUid().

Referenced by StageRecord\determineOrder().

isPublishStage ( )
Returns
bool

Definition at line 205 of file StageRecord.php.

References AbstractRecord\getUid(), and StagesService\STAGE_PUBLISH_ID.

setInternal (   $internal = true)
Parameters
bool$internal

Definition at line 181 of file StageRecord.php.

References StageRecord\$internal.

Member Data Documentation

$allRecipients
protected

Definition at line 51 of file StageRecord.php.

Referenced by StageRecord\getAllRecipients().

$defaultRecipients
protected

Definition at line 41 of file StageRecord.php.

Referenced by StageRecord\getDefaultRecipients().

$internal = false
protected

Definition at line 31 of file StageRecord.php.

Referenced by StageRecord\isInternal(), and StageRecord\setInternal().

$preselectedRecipients
protected

Definition at line 46 of file StageRecord.php.

Referenced by StageRecord\getPreselectedRecipients().

$responsiblePersons
protected

Definition at line 36 of file StageRecord.php.

Referenced by StageRecord\getResponsiblePersons().

$workspace
protected