TYPO3  7.6
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
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 getDatabaseConnection ()
 
static getBackendUser ()
 
static getLanguageService ()
 

Detailed Description

Combined record class

Definition at line 22 of file StageRecord.php.

Constructor & Destructor Documentation

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

Definition at line 85 of file StageRecord.php.

References StageRecord\$workspace.

Member Function Documentation

areEditorsPreselected ( )
Returns
bool

Definition at line 254 of file StageRecord.php.

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

areMembersPreselected ( )
areOwnersPreselected ( )
areResponsiblePersonsPreselected ( )
Returns
bool

Definition at line 262 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 73 of file StageRecord.php.

References AbstractRecord\$record.

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 59 of file StageRecord.php.

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

getAllRecipients ( )
getDefaultComment ( )
Returns
string

Definition at line 170 of file StageRecord.php.

getDefaultRecipients ( )
getNext ( )
Returns
NULL|StageRecord

Definition at line 110 of file StageRecord.php.

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

getPreselectedRecipients ( )
getPrevious ( )
Returns
NULL|StageRecord

Definition at line 102 of file StageRecord.php.

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

getResponsiblePersons ( )
getWorkspace ( )
hasPreselection ( )
isAllowed ( )
Returns
bool

Definition at line 358 of file StageRecord.php.

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

isDialogEnabled ( )
Returns
bool

Definition at line 222 of file StageRecord.php.

isEditStage ( )
Returns
bool

Definition at line 198 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 190 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 155 of file StageRecord.php.

References AbstractRecord\getUid().

Referenced by StageRecord\determineOrder().

isPreselectionChangeable ( )
Returns
bool

Definition at line 230 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 137 of file StageRecord.php.

References AbstractRecord\getUid().

Referenced by StageRecord\determineOrder().

isPublishStage ( )
Returns
bool

Definition at line 206 of file StageRecord.php.

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

setInternal (   $internal = true)
Parameters
bool$internal

Definition at line 182 of file StageRecord.php.

References StageRecord\$internal.

Member Data Documentation

$allRecipients
protected

Definition at line 52 of file StageRecord.php.

Referenced by StageRecord\getAllRecipients().

$defaultRecipients
protected

Definition at line 42 of file StageRecord.php.

Referenced by StageRecord\getDefaultRecipients().

$internal = false
protected

Definition at line 32 of file StageRecord.php.

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

$preselectedRecipients
protected

Definition at line 47 of file StageRecord.php.

Referenced by StageRecord\getPreselectedRecipients().

$responsiblePersons
protected

Definition at line 37 of file StageRecord.php.

Referenced by StageRecord\getResponsiblePersons().

$workspace
protected

Definition at line 27 of file StageRecord.php.

Referenced by StageRecord\__construct(), and StageRecord\getWorkspace().