PHP 클래스 Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\Combine

저자: Aurelien FOUCRET ([email protected])
상속: extends Magento\Rule\Model\Condition\Combine
파일 보기 프로젝트 열기: smile-sa/elasticsuite

보호된 프로퍼티들

프로퍼티 타입 설명
$productConditionFactory Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\ProductFactory
$queryFactory Smile\ElasticsuiteCore\Search\Request\Query\QueryFactory
$type string

공개 메소드들

메소드 설명
__construct ( Magento\Rule\Model\Condition\Context $context, Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\ProductFactory $conditionFactory, QueryFactory $queryFactory, array $data = [] ) Constructor.
getNewChildSelectOptions ( ) {@inheritDoc}
getSearchQuery ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface Build a search query for the current rule.
loadArray ( $arr, $key = 'conditions' ) {@inheritDoc}
setElementName ( string $elementName ) Set the target element name (name of the input into the form).

비공개 메소드들

메소드 설명
getAggregatorFromArray ( array $arr ) : string | null Read the aggregator from an array.
getValueFromArray ( array $arr ) : mixed | null Read the value from an array.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Magento\Rule\Model\Condition\Context $context, Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\ProductFactory $conditionFactory, QueryFactory $queryFactory, array $data = [] )
$context Magento\Rule\Model\Condition\Context Rule context.
$conditionFactory Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\ProductFactory Product condition factory.
$queryFactory Smile\ElasticsuiteCore\Search\Request\Query\QueryFactory Search query factory.
$data array Additional data.

getNewChildSelectOptions() 공개 메소드

{@inheritDoc}

getSearchQuery() 공개 메소드

Build a search query for the current rule.
public getSearchQuery ( ) : Smile\ElasticsuiteCore\Search\Request\QueryInterface
리턴 Smile\ElasticsuiteCore\Search\Request\QueryInterface

loadArray() 공개 메소드

{@inheritDoc}
public loadArray ( $arr, $key = 'conditions' )

setElementName() 공개 메소드

Set the target element name (name of the input into the form).
public setElementName ( string $elementName )
$elementName string Target element name

프로퍼티 상세

$productConditionFactory 보호되어 있는 프로퍼티

protected ProductFactory,Smile\ElasticsuiteCatalogRule\Model\Rule\Condition $productConditionFactory
리턴 Smile\ElasticsuiteCatalogRule\Model\Rule\Condition\ProductFactory

$queryFactory 보호되어 있는 프로퍼티

protected QueryFactory,Smile\ElasticsuiteCore\Search\Request\Query $queryFactory
리턴 Smile\ElasticsuiteCore\Search\Request\Query\QueryFactory

$type 보호되어 있는 프로퍼티

protected string $type
리턴 string