Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (array $params, $data=[]) | |
Protected Member Functions | |
createTestImage ($filename) | |
getFullPath ($filename) | |
Protected Attributes | |
$mediaPathTmp = '/pub/media/tmp/catalog/product' | |
Media Gallery data source.
Data keys:
Definition at line 18 of file MediaGallery.php.
__construct | ( | array | $params, |
$data = [] |
|||
) |
@constructor
array | $params | |
array | $data | @SuppressWarnings(PHPMD.UnusedFormalParameter) |
Definition at line 33 of file MediaGallery.php.
|
protected |
Create test image.
string | $filename |
Definition at line 51 of file MediaGallery.php.
|
protected |
Gets full path based on filename.
string | $filename |
Definition at line 82 of file MediaGallery.php.
|
protected |
Definition at line 25 of file MediaGallery.php.