Log in

MediaGallery Module

Asset

Model

This class represents a media asset in Magento's Media Gallery system. Developers use it to store and retrieve information about uploaded media files...

AssetKeywords

Model

This class serves as a data transfer object that associates a media gallery asset with its keywords for bulk operations. Developers use this when they...

Asset\Command\DeleteByDirectoryPath

Model

This class deletes media gallery assets from the database based on a directory path. Developers use it when they need to remove all media assets store...

Asset\Command\DeleteByPath

Model

This class handles deletion of media gallery assets from the database by their file path. Developers would use this when they need to remove media gal...

Asset\Command\GetById

Model

This class retrieves a media gallery asset from the database by its ID. Developers use it to fetch complete asset information including path, title, d...

Asset\Command\GetByPath

Model

This model retrieves a media gallery asset from the database using its file path. Developers would use this class when they need to fetch complete inf...

Asset\Command\Save

Model

This class saves media asset information to the Magento database. Developers would use it to persist details about uploaded media files like images, i...

Directory\Command\CreateByPaths

Model

This class creates directories in Magento's media storage based on provided file paths. Developers use this when they need to programmatically create...

Directory\Command\DeleteByPaths

Model

This class handles the deletion of multiple directories from Magento's media gallery storage. Developers would use this when programmatically removing...

Directory\Config\Converter

Model

This converter class transforms XML configuration files into PHP arrays for media gallery directory settings. Developers use this when defining which...

Directory\Config\SchemaLocator

Model

This class locates the XSD schema file used to validate media gallery directory configuration files. Developers would use this when working with media...

Directory\ExcludedPatternsConfig

Model

This class provides access to configured directory patterns that should be excluded from the Media Gallery. Developers use this to retrieve a list of...

Directory\IsExcluded

Model

This class determines whether a directory path is excluded from media gallery operations in Magento 2. Developers use this to check if a specific path...

Keyword

Model

This class represents a keyword tag that can be associated with media gallery assets in Magento. Developers use it to create, retrieve, and manage key...

Keyword\Command\GetAssetKeywords

Model

This class retrieves all keywords associated with a specific media gallery asset by its ID. Developers would use this when they need to display or pro...

Keyword\Command\SaveAssetKeywords

Model

This class saves keyword associations for media gallery assets to the database. Developers use it to tag media assets with keywords for better organiz...

ResourceModel\DeleteAssetsByPaths

Model

This class handles the deletion of media gallery assets from the database based on their file paths. Developers use this when they need to remove medi...

ResourceModel\GetAssetsByIds

Model

This class retrieves multiple media gallery assets from the database by their IDs. Developers use this when they need to fetch detailed information ab...

ResourceModel\GetAssetsByPaths

Model

This class retrieves media gallery asset records from the database based on an array of file paths. Developers use it when they need to fetch complete...

ResourceModel\GetAssetsBySearchCriteria

Model

This resource model retrieves media gallery assets from the database based on search criteria filters. Developers use this class when they need to fet...

ResourceModel\Keyword\GetAssetsKeywords

Model

This class retrieves keywords associated with media gallery assets in Magento 2. Developers use it to fetch all keywords tagged to one or more media a...

ResourceModel\Keyword\SaveAssetLinks

Model

This class manages the relationship between media gallery assets and their associated keywords by saving, updating, and deleting links in the database...

ResourceModel\Keyword\SaveAssetsKeywords

Model

This class saves keyword associations for media gallery assets in Magento 2. Developers use it when they need to tag media assets with keywords for ca...

ResourceModel\SaveAssets

Model

This class handles saving media gallery assets (images, videos, etc.) to the database. Developers use it when they need to persist media asset metadat...

SearchAssets

Model

This class retrieves media gallery assets based on search criteria. Developers use it to fetch filtered lists of media assets (images, videos) from th...