|
| | __construct (\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\App\Config\ScopeConfigInterface $coreConfig, \Magento\Framework\Json\Helper\Data $jsonHelper, \Magento\Persistent\Helper\Data $persistentData, \Magento\Framework\Stdlib\CookieManagerInterface $cookieManager, \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory $cookieMetadataFactory, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\Math\Random $mathRandom, \Magento\Framework\Session\Config\ConfigInterface $sessionConfig, \Magento\Framework\Model\ResourceModel\AbstractResource $resource=null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection=null, array $data=[]) |
| |
| | setLoadExpired ($loadExpired=true) |
| |
| | getLoadExpired () |
| |
| | getExpiredBefore ($store=null) |
| |
| | beforeSave () |
| |
| | loadByCookieKey ($key=null) |
| |
| | loadByCustomerId ($id) |
| |
| | deleteByCustomerId ($customerId, $clearCookie=true) |
| |
| | removePersistentCookie () |
| |
| | setPersistentCookie ($duration, $path) |
| |
| | renewPersistentCookie ($duration, $path) |
| |
| | deleteExpired ($websiteId=null) |
| |
| | afterDeleteCommit () |
| |
| | save () |
| |
| | __construct (\Magento\Framework\Model\Context $context, \Magento\Framework\Registry $registry, \Magento\Framework\Model\ResourceModel\AbstractResource $resource=null, \Magento\Framework\Data\Collection\AbstractDb $resourceCollection=null, array $data=[]) |
| |
| | __sleep () |
| |
| | __wakeup () |
| |
| | setIdFieldName ($name) |
| |
| | getIdFieldName () |
| |
| | getId () |
| |
| | setId ($value) |
| |
| | isDeleted ($isDeleted=null) |
| |
| | hasDataChanges () |
| |
| | setData ($key, $value=null) |
| |
| | unsetData ($key=null) |
| |
| | setDataChanges ($value) |
| |
| | getOrigData ($key=null) |
| |
| | setOrigData ($key=null, $data=null) |
| |
| | dataHasChangedFor ($field) |
| |
| | getResourceName () |
| |
| | getResourceCollection () |
| |
| | getCollection () |
| |
| | load ($modelId, $field=null) |
| |
| | beforeLoad ($identifier, $field=null) |
| |
| | afterLoad () |
| |
| | isSaveAllowed () |
| |
| | setHasDataChanges ($flag) |
| |
| | save () |
| |
| | afterCommitCallback () |
| |
| | isObjectNew ($flag=null) |
| |
| | beforeSave () |
| |
| | validateBeforeSave () |
| |
| | getCacheTags () |
| |
| | cleanModelCache () |
| |
| | afterSave () |
| |
| | delete () |
| |
| | beforeDelete () |
| |
| | afterDelete () |
| |
| | afterDeleteCommit () |
| |
| | getResource () |
| |
| | getEntityId () |
| |
| | setEntityId ($entityId) |
| |
| | clearInstance () |
| |
| | getStoredData () |
| |
| | getEventPrefix () |
| |
| | __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) |
| |
Persistent Session Model
@api @method int getCustomerId() @method Session setCustomerId() @SuppressWarnings(PHPMD.CouplingBetweenObjects)
- Since
- 100.0.2
Definition at line 17 of file Session.php.