TYPO3  7.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WorkspaceRecord Class Reference
Inheritance diagram for WorkspaceRecord:
AbstractRecord

Public Member Functions

 getOwners ()
 
 getMembers ()
 
 getStages ()
 
 getStage ($stageId)
 
 getPreviousStage ($stageId)
 
 getNextStage ($stageId)
 
- Public Member Functions inherited from AbstractRecord
 __construct (array $record)
 
 __toString ()
 
 getUid ()
 
 getTitle ()
 

Static Public Member Functions

static get ($uid, array $record=null)
 

Protected Member Functions

 addStage (StageRecord $stage)
 
 createInternalStage ($stageId)
 
- Protected Member Functions inherited from AbstractRecord
 getStagesService ()
 

Protected Attributes

 $internalStages
 
 $internalStageFieldNames
 
 $owners
 
 $members
 
 $stages
 
- Protected Attributes inherited from AbstractRecord
 $record
 

Additional Inherited Members

- 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 WorkspaceRecord.php.

Member Function Documentation

addStage ( StageRecord  $stage)
protected
Parameters
StageRecord$stage

Definition at line 185 of file WorkspaceRecord.php.

References AbstractRecord\getUid().

Referenced by WorkspaceRecord\getStages().

createInternalStage (   $stageId)
protected
Parameters
int$stageId
Returns
StageRecord
Exceptions
\RuntimeException

Definition at line 195 of file WorkspaceRecord.php.

References AbstractRecord\$record, and StageRecord\build().

Referenced by WorkspaceRecord\getStages().

static get (   $uid,
array  $record = null 
)
static
getMembers ( )
Returns
array

Definition at line 95 of file WorkspaceRecord.php.

References WorkspaceRecord\$members, and AbstractRecord\getStagesService().

getNextStage (   $stageId)
Parameters
int$stageId
Returns
NULL|StageRecord

Definition at line 168 of file WorkspaceRecord.php.

References WorkspaceRecord\getStages().

getOwners ( )
Returns
array

Definition at line 84 of file WorkspaceRecord.php.

References WorkspaceRecord\$owners, and AbstractRecord\getStagesService().

getPreviousStage (   $stageId)
Parameters
int$stageId
Returns
NULL|StageRecord

Definition at line 149 of file WorkspaceRecord.php.

References WorkspaceRecord\getStages().

getStage (   $stageId)
Parameters
int$stageId
Returns
NULL|StageRecord

Definition at line 135 of file WorkspaceRecord.php.

References WorkspaceRecord\getStages().

getStages ( )

Member Data Documentation

$internalStageFieldNames
protected
Initial value:
= array(
'notification_defaults',
'notification_preselection',
'allow_notificaton_settings'
)

Definition at line 45 of file WorkspaceRecord.php.

$internalStages
protected
Initial value:
= array(
'name' => 'edit',
'label' => 'LLL:EXT:lang/locallang_mod_user_ws.xlf:stage_editing'
),
'name' => 'publish',
'label' => 'LLL:EXT:workspaces/Resources/Private/Language/locallang_mod.xlf:stage_ready_to_publish'
),
'name' => 'execute',
'label' => 'LLL:EXT:lang/locallang_mod_user_ws.xlf:stage_publish'
),
)

Definition at line 27 of file WorkspaceRecord.php.

$members
protected

Definition at line 59 of file WorkspaceRecord.php.

Referenced by WorkspaceRecord\getMembers().

$owners
protected

Definition at line 54 of file WorkspaceRecord.php.

Referenced by WorkspaceRecord\getOwners().

$stages
protected

Definition at line 64 of file WorkspaceRecord.php.

Referenced by WorkspaceRecord\getStages().