Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getBase64EncodedData () | |
getType () | |
getName () | |
setBase64EncodedData ($data) | |
setType ($mimeType) | |
setName ($name) | |
![]() | |
__construct (array $data=[]) | |
setData ($key, $value) | |
__toArray () | |
Additional Inherited Members | |
![]() | |
const | BASE64_ENCODED_DATA = 'base64_encoded_data' |
const | TYPE = 'type' |
const | NAME = 'name' |
![]() | |
_get ($key) | |
![]() | |
$_data | |
getBase64EncodedData | ( | ) |
{Retrieve media data (base64 encoded content)
Implements ImageContentInterface.
Definition at line 23 of file ImageContent.php.
getName | ( | ) |
{Retrieve image name
Implements ImageContentInterface.
Definition at line 43 of file ImageContent.php.
getType | ( | ) |
{Retrieve MIME type
Implements ImageContentInterface.
Definition at line 33 of file ImageContent.php.
setBase64EncodedData | ( | $data | ) |
{Set media data (base64 encoded content)
string | $data |
string | $data |
Implements ImageContentInterface.
Definition at line 54 of file ImageContent.php.
setName | ( | $name | ) |
{Set image name
string | $name |
string | $name |
Implements ImageContentInterface.
Definition at line 76 of file ImageContent.php.
setType | ( | $mimeType | ) |
{Set MIME type
string | $mimeType |
string | $mimeType |
Implements ImageContentInterface.
Definition at line 65 of file ImageContent.php.