Search extends Element
in package
Uses ElementTrait

This is the 'Search' class, a DTO class for the theme configuration data.

The items stored in this class will remain immutable (only get methods are available).
This class extends SDK\Core\Dtos\Element, see this class.

Tags
see
Search::getProduct()
see
Search::getCategories()
see
Search::getNews()
see
Search::getPages()
see
Element
see
ElementTrait

Table of Contents

CATEGORIES  = 'categories'
NEWS  = 'news'
PAGES  = 'pages'
PRODUCTS  = 'products'
getCategories() This method returns the categories search configuration.  : SearchItem|null
getNews() This method returns the news search configuration.  : SearchItem|null
getPages() This method returns the pages search configuration.  : SearchItem|null
getProducts() This method returns the products search configuration.  : SearchItem|null

Constants

CATEGORIES

public mixed CATEGORIES = 'categories'

PAGES

public mixed PAGES = 'pages'

PRODUCTS

public mixed PRODUCTS = 'products'

Methods

getCategories()

This method returns the categories search configuration.

public getCategories() : SearchItem|null
Return values
SearchItem|null

getPages()

This method returns the pages search configuration.

public getPages() : SearchItem|null
Return values
SearchItem|null

getProducts()

This method returns the products search configuration.

public getProducts() : SearchItem|null
Return values
SearchItem|null

Search results