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
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'
NEWS
public
mixed
NEWS
= 'news'
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 —getNews()
This method returns the news search configuration.
public
getNews() : 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