PHP Class eZ\Bundle\EzPublishLegacySearchEngineBundle\Command\CreateIndexCommand

Deprecation: since 6.7, use ezplatform:reindex command instead. Console command ezplatform:create_sql_search_index indexes content objects for legacy search engine.
Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Datei anzeigen Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Initialize objects required by {@see execute()}.

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
getContentObjectsTotalCount ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $databaseHandler, integer $contentObjectStatus ) : integer Get content objects total count.
logWarning ( Symfony\Component\Console\Output\OutputInterface $output, Symfony\Component\Console\Helper\ProgressHelper $progress, $message ) Log warning while progress helper is running.

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

initialize() public method

Initialize objects required by {@see execute()}.
public initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface