Log in
Model

GetAssetsBySearchCriteria

Magento\MediaGallery\Model\ResourceModel\GetAssetsBySearchCriteria

What it does

This resource model retrieves media gallery assets from the database based on search criteria filters.

Developers use this class when they need to fetch media assets with specific conditions like filtering by path, content type, or other asset attributes.

It supports pagination, multiple filter groups, and fulltext search capabilities.

Public Methods

  • execute()
  • getResultCondition()