Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Protected Attributes | |
$jsonDecoder | |
![]() | |
$extensionAttributesFactory | |
$extensionAttributes | |
$customAttributeFactory | |
$customAttributesCodes = null | |
$customAttributesChanged = false | |
![]() | |
$_eventPrefix = 'core_abstract' | |
$_eventObject = 'object' | |
$_idFieldName = 'id' | |
$_hasDataChanges = false | |
$_origData | |
$_isDeleted = false | |
$_resource | |
$_resourceCollection | |
$_resourceName | |
$_collectionName | |
$_cacheTag = false | |
$_dataSaveAllowed = true | |
$_isObjectNew = null | |
$_validatorBeforeSave = null | |
$_eventManager | |
$_cacheManager | |
$_registry | |
$_logger | |
$_appState | |
$_actionValidator | |
$storedData = [] | |
![]() | |
$_data = [] | |
Additional Inherited Members | |
![]() | |
const | CUSTOM_ATTRIBUTES = 'custom_attributes' |
![]() | |
const | EXTENSION_ATTRIBUTES_KEY = 'extension_attributes' |
![]() | |
const | BOOKMARK_ID = 'bookmark_id' |
const | USER_ID = 'user_id' |
const | BOOKMARKSPACE = 'namespace' |
const | IDENTIFIER = 'identifier' |
const | TITLE = 'title' |
const | CONFIG = 'config' |
const | CREATED_AT = 'created_at' |
const | UPDATED_AT = 'updated_at' |
const | CURRENT = 'current' |
![]() | |
filterCustomAttributes ($data) | |
initializeCustomAttributes () | |
convertCustomAttributeValues (array &$customAttributes) | |
getCustomAttributesCodes () | |
_setExtensionAttributes (\Magento\Framework\Api\ExtensionAttributesInterface $extensionAttributes) | |
_getExtensionAttributes () | |
![]() | |
_construct () | |
_init ($resourceModel) | |
_setResourceModel ($resourceName, $collectionName=null) | |
_getResource () | |
_getEventData () | |
_beforeLoad ($modelId, $field=null) | |
_afterLoad () | |
_hasModelChanged () | |
_getValidatorBeforeSave () | |
_createValidatorBeforeSave () | |
_getValidationRulesBeforeSave () | |
_clearReferences () | |
_clearData () | |
![]() | |
_getData ($key) | |
_underscore ($name) | |
![]() | |
static | $_underscoreCache = [] |
Domain class Bookmark @codeCoverageIgnore
Definition at line 22 of file Bookmark.php.
__construct | ( | Context | $context, |
Registry | $registry, | ||
ExtensionAttributesFactory | $extensionFactory, | ||
AttributeValueFactory | $customAttributeFactory, | ||
ResourceBookmark | $resource, | ||
Collection | $resourceCollection, | ||
DecoderInterface | $jsonDecoder, | ||
array | $data = [] , |
||
\Magento\Framework\Serialize\Serializer\Json | $serializer = null |
||
) |
Context | $context | |
Registry | $registry | |
ExtensionAttributesFactory | $extensionFactory | |
AttributeValueFactory | $customAttributeFactory | |
ResourceBookmark | $resource | |
Collection | $resourceCollection | |
DecoderInterface | $jsonDecoder | |
array | $data | |
\Magento\Framework\Serialize\Serializer\Json | null | $serializer |
Definition at line 47 of file Bookmark.php.
getConfig | ( | ) |
Get config
Implements BookmarkInterface.
Definition at line 137 of file Bookmark.php.
getCreatedAt | ( | ) |
Get created at
Implements BookmarkInterface.
Definition at line 151 of file Bookmark.php.
getExtensionAttributes | ( | ) |
{Retrieve existing extension attributes object or create a new one
Implements BookmarkInterface.
Definition at line 270 of file Bookmark.php.
getId | ( | ) |
Get Id
Implements BookmarkInterface.
Definition at line 77 of file Bookmark.php.
getIdentifier | ( | ) |
Get identifier
Implements BookmarkInterface.
Definition at line 107 of file Bookmark.php.
getNamespace | ( | ) |
Get namespace
Implements BookmarkInterface.
Definition at line 97 of file Bookmark.php.
getTitle | ( | ) |
Get title
Implements BookmarkInterface.
Definition at line 127 of file Bookmark.php.
getUpdatedAt | ( | ) |
Get updated at
Implements BookmarkInterface.
Definition at line 161 of file Bookmark.php.
getUserId | ( | ) |
Get user Id
Implements BookmarkInterface.
Definition at line 87 of file Bookmark.php.
isCurrent | ( | ) |
Is current
Implements BookmarkInterface.
Definition at line 117 of file Bookmark.php.
setConfig | ( | $config | ) |
Set config
string | $config |
Implements BookmarkInterface.
Definition at line 238 of file Bookmark.php.
setCreatedAt | ( | $createdAt | ) |
Set created at
string | $createdAt |
Implements BookmarkInterface.
Definition at line 249 of file Bookmark.php.
setCurrent | ( | $isCurrent | ) |
Set current
bool | $isCurrent |
Implements BookmarkInterface.
Definition at line 216 of file Bookmark.php.
setExtensionAttributes | ( | \Magento\Ui\Api\Data\BookmarkExtensionInterface | $extensionAttributes | ) |
{}
\Magento\Ui\Api\Data\BookmarkExtensionInterface | $extensionAttributes |
Definition at line 281 of file Bookmark.php.
setId | ( | $id | ) |
Set Id
int | $id |
Implements BookmarkInterface.
Definition at line 172 of file Bookmark.php.
setIdentifier | ( | $identifier | ) |
Set identifier
string | $identifier |
Implements BookmarkInterface.
Definition at line 205 of file Bookmark.php.
setNamespace | ( | $namespace | ) |
Set namespace
string | $namespace |
Implements BookmarkInterface.
Definition at line 194 of file Bookmark.php.
setTitle | ( | $title | ) |
Set title
string | $title |
Implements BookmarkInterface.
Definition at line 227 of file Bookmark.php.
setUpdatedAt | ( | $updatedAt | ) |
Set updated at
string | $updatedAt |
Implements BookmarkInterface.
Definition at line 260 of file Bookmark.php.
setUserId | ( | $userId | ) |
Set user Id
int | $userId |
Implements BookmarkInterface.
Definition at line 183 of file Bookmark.php.
|
protected |
Definition at line 28 of file Bookmark.php.