PHP Class eZ\Bundle\EzPublishMigrationBundle\Command\LegacyStorage\UpdateFieldAlwaysAvailableFlagCommand

Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
initSelectQuery ( eZ\Publish\Core\Persistence\Database\SelectQuery $query ) Initializes main selection $query.
loadData ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, integer $bulkCount, integer $pass ) : array Loads data for the given $pass.
updateAlwaysAvailableFlag ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progress, integer $contentId, integer $versionNo, integer $mainLanguageId, boolean $dryRun ) Fixes always available flag on fields of Content $contentId in $versionNo.

Method Details

configure() protected method

protected configure ( )

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

initSelectQuery() protected method

Initializes main selection $query.
protected initSelectQuery ( eZ\Publish\Core\Persistence\Database\SelectQuery $query )
$query eZ\Publish\Core\Persistence\Database\SelectQuery

loadData() protected method

Loads data for the given $pass.
protected loadData ( eZ\Publish\Core\Persistence\Database\SelectQuery $query, integer $bulkCount, integer $pass ) : array
$query eZ\Publish\Core\Persistence\Database\SelectQuery
$bulkCount integer
$pass integer
return array

updateAlwaysAvailableFlag() protected method

Fixes always available flag on fields of Content $contentId in $versionNo.
protected updateAlwaysAvailableFlag ( Symfony\Component\Console\Output\OutputInterface $output, ProgressBar $progress, integer $contentId, integer $versionNo, integer $mainLanguageId, boolean $dryRun )
$output Symfony\Component\Console\Output\OutputInterface
$progress Symfony\Component\Console\Helper\ProgressBar
$contentId integer
$versionNo integer
$mainLanguageId integer
$dryRun boolean