![]() |
Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (DatabaseInterface $db) | |
![]() | |
__construct (?string $name=null) | |
addArgument (string $name, ?int $mode=null, string $description='', $default=null) | |
addOption (string $name, $shortcut=null, ?int $mode=null, $description='', $default=null) | |
execute (InputInterface $input, OutputInterface $output) | |
getAliases () | |
getApplication () | |
getDefinition () | |
getDescription () | |
getHelp () | |
getHelperSet () | |
getName () | |
getProcessedHelp () | |
getSynopsis (bool $short=false) | |
isEnabled () | |
isHidden () | |
mergeApplicationDefinition (bool $mergeArgs=true) | |
setAliases (array $aliases) | |
setApplication (?Application $application=null) | |
setDefinition ($definition) | |
setDescription (string $description) | |
setHelp (string $help) | |
setHelperSet (HelperSet $helperSet) | |
setHidden (bool $hidden) | |
setName (string $name) | |
Fonctions membres protégées | |
configure () | |
doExecute (InputInterface $input, OutputInterface $output) | |
![]() | |
configure () | |
doExecute (InputInterface $input, OutputInterface $output) | |
initialise (InputInterface $input, OutputInterface $output) | |
Attributs protégés statiques | |
static | $defaultName = 'finder:index' |
![]() | |
static | $defaultName |
Fonctions membres privées | |
configureIO (InputInterface $input, OutputInterface $output) | |
getFilters () | |
purge () | |
index () | |
putFilters () | |
Attributs privés | |
$cliInput | |
$ioStyle | |
$db | |
$time | |
$qtime | |
$filters = array() | |
$pause = 'division' | |
$divisor = 5 | |
$minimumBatchProcessingTime = 1 | |
Membres hérités additionnels | |
![]() | |
static | getDefaultName () |
Console command Purges and rebuilds the index (search filters are preserved)
__construct | ( | DatabaseInterface | $db | ) |
Instantiate the command.
DatabaseInterface | $db | Database connector |
Références $db, et Symfony\Contracts\Service\__construct().
|
protected |
Initialise the command.
Références null, InputArgument\OPTIONAL, et InputOption\VALUE_REQUIRED.
|
private |
Configures the IO
Références $input, $language, $output, Factory\getLanguage(), JPATH_ADMINISTRATOR, JPATH_SITE, et null.
|
protected |
Internal function to execute the command.
InputInterface | $input | The input to inject into the command. |
OutputInterface | $output | The output to inject into the command. |
Références $input, $output, Text\sprintf(), et Command\SUCCESS.
|
private |
Save static filters.
Since a purge/index cycle will cause all the taxonomy ids to change, the static filters need to be updated with the new taxonomy ids. The static filter information is saved prior to the purge/index so that it can later be used to update the filters with new ids.
Références $db, $filters, $query, $taxonomies, Text\_(), et Text\sprintf().
|
private |
Run the indexer.
Références $app, $c, $i, $state, $text, Text\_(), elseif, Factory\getApplication(), Indexer\getState(), PluginHelper\importPlugin(), Indexer\resetState(), et Text\sprintf().
|
private |
|
private |
Restore static filters.
Using the saved filter information, update the filter records with the new taxonomy ids.
Références $db, $query, $text, Text\_(), et Text\sprintf().
|
private |
|
private |
|
staticprotected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |