‪TYPO3CMS  9.5
TYPO3\CMS\Workspaces\Command\AutoPublishCommand Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Command\AutoPublishCommand:

Public Member Functions

 configure ()
 

Protected Member Functions

 execute (InputInterface $input, OutputInterface $output)
 
Doctrine DBAL Driver Statement int getAffectedWorkspacesToPublish ()
 

Detailed Description

Call on the workspace logic to publish workspaces whose publication date is in the past

Definition at line 32 of file AutoPublishCommand.php.

Member Function Documentation

◆ configure()

TYPO3\CMS\Workspaces\Command\AutoPublishCommand::configure ( )

Configuring the command options

Definition at line 38 of file AutoPublishCommand.php.

◆ execute()

TYPO3\CMS\Workspaces\Command\AutoPublishCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Executes the command to find versioned records

Parameters
InputInterface$input
OutputInterface$output

Definition at line 51 of file AutoPublishCommand.php.

References $output, TYPO3\CMS\Workspaces\Command\AutoPublishCommand\getAffectedWorkspacesToPublish(), and TYPO3\CMS\Core\Core\Bootstrap\initializeBackendAuthentication().

◆ getAffectedWorkspacesToPublish()

Doctrine DBAL Driver Statement int TYPO3\CMS\Workspaces\Command\AutoPublishCommand::getAffectedWorkspacesToPublish ( )
protected

Fetch all sys_workspace records which could fit

Returns
‪\Doctrine\DBAL\Driver\Statement|int

Definition at line 101 of file AutoPublishCommand.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Workspaces\Command\AutoPublishCommand\execute().