Property | Type | Description | |
---|---|---|---|
$conditionsFactory | Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\CombineFactory | ||
$elementName | string |
Method | Description | |
---|---|---|
__construct ( Magento\Framework\Model\Context $context, Magento\Framework\Registry $registry, Magento\Framework\Data\FormFactory $formFactory, Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\CombineFactory $conditionsFactory, array $data = [] ) | Constructor. | |
getActionsInstance ( ) | {@inheritDoc} | |
getConditions ( ) | {@inheritDoc} | |
getConditionsInstance ( ) | {@inheritDoc} | |
getSearchQuery ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface | Build a search query for the current rule. | |
setElementName ( string $elementName ) | Set the target element name (name of the input into the form). |
public __construct ( Magento\Framework\Model\Context $context, Magento\Framework\Registry $registry, Magento\Framework\Data\FormFactory $formFactory, Magento\Framework\Stdlib\DateTime\TimezoneInterface $localeDate, Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\CombineFactory $conditionsFactory, array $data = [] ) | ||
$context | Magento\Framework\Model\Context | Context. |
$registry | Magento\Framework\Registry | Registry. |
$formFactory | Magento\Framework\Data\FormFactory | Form factory. |
$localeDate | Magento\Framework\Stdlib\DateTime\TimezoneInterface | Locale date. |
$conditionsFactory | Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\CombineFactory | Search engine rule condition factory. |
$data | array | Additional data. |
public getSearchQuery ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface | ||
return | Smile\ElasticsuiteCore\Search\Request\QueryInterface |
public setElementName ( string $elementName ) | ||
$elementName | string | Target element name |
protected CombineFactory,Smile\ElasticsuiteCatalogRule\Model\Rule\Condition $conditionsFactory | ||
return | Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\CombineFactory |