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

Public Member Functions

 configure ()
 

Protected Member Functions

int 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 34 of file AutoPublishCommand.php.

Member Function Documentation

◆ configure()

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

Configuring the command options

Definition at line 40 of file AutoPublishCommand.php.

◆ execute()

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

Executes the command to find versioned records

Parameters
InputInterface$input
OutputInterface$output
Returns
‪int

Definition at line 54 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().