Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (IndexerInterface $indexer, DependencyInfoProviderInterface $dependencyInfoProvider, IndexerRegistry $indexerRegistry) | |
__call (string $method, array $args) | |
__sleep () | |
__clone () | |
getId () | |
getViewId () | |
getActionClass () | |
getTitle () | |
getDescription () | |
getFields () | |
getSources () | |
getHandlers () | |
load ($indexerId) | |
getView () | |
getState () | |
setState (StateInterface $state) | |
isScheduled () | |
setScheduled ($scheduled) | |
isValid () | |
isInvalid () | |
isWorking () | |
invalidate () | |
getStatus () | |
getLatestUpdated () | |
reindexAll () | |
reindexRow ($id) | |
reindexList ($ids) | |
The decorator, which implements logic of the dependency between the indexers.
@SuppressWarnings(PHPMD.TooManyPublicMethods)
Definition at line 21 of file DependencyDecorator.php.
__construct | ( | IndexerInterface | $indexer, |
DependencyInfoProviderInterface | $dependencyInfoProvider, | ||
IndexerRegistry | $indexerRegistry | ||
) |
IndexerInterface | $indexer | |
DependencyInfoProviderInterface | $dependencyInfoProvider | |
IndexerRegistry | $indexerRegistry |
Definition at line 43 of file DependencyDecorator.php.
__call | ( | string | $method, |
array | $args | ||
) |
Definition at line 56 of file DependencyDecorator.php.
__clone | ( | ) |
Definition at line 72 of file DependencyDecorator.php.
__sleep | ( | ) |
Definition at line 64 of file DependencyDecorator.php.
getActionClass | ( | ) |
Return indexer action class
Implements IndexerInterface.
Definition at line 96 of file DependencyDecorator.php.
getDescription | ( | ) |
Return indexer description
Implements IndexerInterface.
Definition at line 112 of file DependencyDecorator.php.
getFields | ( | ) |
Return indexer fields
Implements IndexerInterface.
Definition at line 120 of file DependencyDecorator.php.
getHandlers | ( | ) |
Return indexer handlers
Implements IndexerInterface.
Definition at line 136 of file DependencyDecorator.php.
getId | ( | ) |
Return indexer ID
Implements IndexerInterface.
Definition at line 80 of file DependencyDecorator.php.
getLatestUpdated | ( | ) |
Return indexer or mview latest updated time
Implements IndexerInterface.
Definition at line 238 of file DependencyDecorator.php.
getSources | ( | ) |
Return indexer sources
Implements IndexerInterface.
Definition at line 128 of file DependencyDecorator.php.
getState | ( | ) |
Return related state object
Implements IndexerInterface.
Definition at line 161 of file DependencyDecorator.php.
getStatus | ( | ) |
Return indexer status
Implements IndexerInterface.
Definition at line 230 of file DependencyDecorator.php.
getTitle | ( | ) |
Return indexer title
Implements IndexerInterface.
Definition at line 104 of file DependencyDecorator.php.
getView | ( | ) |
Return related view object
Implements IndexerInterface.
Definition at line 153 of file DependencyDecorator.php.
getViewId | ( | ) |
Return indexer's view ID
Implements IndexerInterface.
Definition at line 88 of file DependencyDecorator.php.
invalidate | ( | ) |
Set indexer invalid
Implements IndexerInterface.
Definition at line 218 of file DependencyDecorator.php.
isInvalid | ( | ) |
Check whether indexer is invalid
Implements IndexerInterface.
Definition at line 202 of file DependencyDecorator.php.
isScheduled | ( | ) |
Check whether indexer is run by schedule
Implements IndexerInterface.
Definition at line 178 of file DependencyDecorator.php.
isValid | ( | ) |
Check whether indexer is valid
Implements IndexerInterface.
Definition at line 194 of file DependencyDecorator.php.
isWorking | ( | ) |
Check whether indexer is working
Implements IndexerInterface.
Definition at line 210 of file DependencyDecorator.php.
load | ( | $indexerId | ) |
Fill indexer data from config
string | $indexerId |
Implements IndexerInterface.
Definition at line 144 of file DependencyDecorator.php.
reindexAll | ( | ) |
Regenerate full index
Implements IndexerInterface.
Definition at line 246 of file DependencyDecorator.php.
reindexList | ( | $ids | ) |
Regenerate rows in index by ID list
int[] | $ids |
Implements IndexerInterface.
Definition at line 269 of file DependencyDecorator.php.
reindexRow | ( | $id | ) |
Regenerate one row in index by ID
int | $id |
Implements IndexerInterface.
Definition at line 254 of file DependencyDecorator.php.
setScheduled | ( | $scheduled | ) |
Turn scheduled mode on/off
bool | $scheduled |
Implements IndexerInterface.
Definition at line 186 of file DependencyDecorator.php.
setState | ( | StateInterface | $state | ) |
Set indexer state object
StateInterface | $state |
Implements IndexerInterface.
Definition at line 169 of file DependencyDecorator.php.