|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Data Structures | |
| class | ChangelogTest |
Public Member Functions | |
| __construct (ConfigInterface $config, ActionFactory $actionFactory, View\StateInterface $state, View\ChangelogInterface $changelog, SubscriptionFactory $subscriptionFactory, array $data=[], array $changelogBatchSize=[]) | |
| getId () | |
| setId ($id) | |
| setIdFieldName ($name) | |
| getIdFieldName () | |
| getActionClass () | |
| getGroup () | |
| getSubscriptions () | |
| load ($viewId) | |
| update () | |
| suspend () | |
| resume () | |
| clearChangelog () | |
| getState () | |
| setState (View\StateInterface $state) | |
| isEnabled () | |
| isIdle () | |
| isWorking () | |
| isSuspended () | |
| getUpdated () | |
| getChangelog () | |
Public Member Functions inherited from DataObject | |
| __construct (array $data=[]) | |
| addData (array $arr) | |
| setData ($key, $value=null) | |
| unsetData ($key=null) | |
| getData ($key='', $index=null) | |
| getDataByPath ($path) | |
| getDataByKey ($key) | |
| setDataUsingMethod ($key, $args=[]) | |
| getDataUsingMethod ($key, $args=null) | |
| hasData ($key='') | |
| toArray (array $keys=[]) | |
| convertToArray (array $keys=[]) | |
| toXml (array $keys=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
| convertToXml (array $arrAttributes=[], $rootName='item', $addOpenTag=false, $addCdata=true) | |
| toJson (array $keys=[]) | |
| convertToJson (array $keys=[]) | |
| toString ($format='') | |
| __call ($method, $args) | |
| isEmpty () | |
| serialize ($keys=[], $valueSeparator='=', $fieldSeparator=' ', $quote='"') | |
| debug ($data=null, &$objects=[]) | |
| offsetSet ($offset, $value) | |
| offsetExists ($offset) | |
| offsetUnset ($offset) | |
| offsetGet ($offset) | |
Public Member Functions inherited from ViewInterface | |
| subscribe () | |
| unsubscribe () | |
Data Fields | |
| const | DEFAULT_BATCH_SIZE = 1000 |
Protected Attributes | |
| $_idFieldName = 'view_id' | |
| $config | |
| $actionFactory | |
| $changelog | |
| $subscriptionFactory | |
| $state | |
Protected Attributes inherited from DataObject | |
| $_data = [] | |
Additional Inherited Members | |
Protected Member Functions inherited from DataObject | |
| _getData ($key) | |
| _underscore ($name) | |
Static Protected Attributes inherited from DataObject | |
| static | $_underscoreCache = [] |
| __construct | ( | ConfigInterface | $config, |
| ActionFactory | $actionFactory, | ||
| View\StateInterface | $state, | ||
| View\ChangelogInterface | $changelog, | ||
| SubscriptionFactory | $subscriptionFactory, | ||
| array | $data = [], |
||
| array | $changelogBatchSize = [] |
||
| ) |
| ConfigInterface | $config | |
| ActionFactory | $actionFactory | |
| View\StateInterface | $state | |
| View\ChangelogInterface | $changelog | |
| SubscriptionFactory | $subscriptionFactory | |
| array | $data | |
| array | $changelogBatchSize |
Definition at line 71 of file View.php.
| clearChangelog | ( | ) |
Clear precessed changelog entries
Implements ViewInterface.
Definition at line 346 of file View.php.
| getActionClass | ( | ) |
Return view action class
Implements ViewInterface.
Definition at line 138 of file View.php.
| getChangelog | ( | ) |
Retrieve linked changelog
Implements ViewInterface.
Definition at line 433 of file View.php.
| getGroup | ( | ) |
| getId | ( | ) |
| getState | ( | ) |
Return related state object
Implements ViewInterface.
Definition at line 358 of file View.php.
| getSubscriptions | ( | ) |
Return view subscriptions
Implements ViewInterface.
Definition at line 158 of file View.php.
| getUpdated | ( | ) |
Return view updated datetime
Implements ViewInterface.
Definition at line 423 of file View.php.
| isEnabled | ( | ) |
Check whether view is enabled
Implements ViewInterface.
Definition at line 383 of file View.php.
| isIdle | ( | ) |
Check whether view is idle
Implements ViewInterface.
Definition at line 393 of file View.php.
| isSuspended | ( | ) |
Check whether view is suspended
Implements ViewInterface.
Definition at line 413 of file View.php.
| isWorking | ( | ) |
Check whether view is working
Implements ViewInterface.
Definition at line 403 of file View.php.
| load | ( | $viewId | ) |
Fill view data from config
| string | $viewId |
Implements ViewInterface.
Definition at line 170 of file View.php.
| resume | ( | ) |
Resume view updates
Implements ViewInterface.
Definition at line 332 of file View.php.
| setIdFieldName | ( | $name | ) |
| setState | ( | View\StateInterface | $state | ) |
Set view state object
| View\StateInterface | $state |
Implements ViewInterface.
Definition at line 372 of file View.php.
| suspend | ( | ) |
Suspend view updates and set version ID to changelog's end
Implements ViewInterface.
Definition at line 317 of file View.php.
| update | ( | ) |
Materialize view by IDs in changelog
Implements ViewInterface.
Definition at line 264 of file View.php.
| const DEFAULT_BATCH_SIZE = 1000 |