프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$expressions | Sulu\Component\Rest\ListBuilder\Expression\ExpressionInterface[] | ||
$filterManager | Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface | ||
$listBuilder | Sulu\Component\Rest\ListBuilder\ListBuilderInterface | ||
$requestStack | Symfony\Component\HttpFoundation\RequestStack |
메소드 | 설명 | |
---|---|---|
__construct ( Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface $manager, Symfony\Component\HttpFoundation\RequestStack $requestStack ) | ||
applyFilterToList ( Sulu\Component\Rest\ListBuilder\ListBuilderInterface $listBuilder ) |
메소드 | 설명 | |
---|---|---|
createConjunctionExpression ( array $expressions, string $conjunction ) : Sulu\Component\Rest\ListBuilder\Expression\ConjunctionExpressionInterface | Creates a conjunction expression based on the given expressions and conjunction. | |
createExpression ( |
Creates expressions from conditions and add them to the expressions array. | |
getBoolean ( $value ) : boolean | Returns boolean value if value is 1, true or "true" otherwise false is returned. | |
getValue ( |
Parses and returns the value of a condition. | |
handleCreatedExpressions ( array $expressions, string $conjunction ) | Handles the previouse created expressions and passes the over to the listbuilder. | |
processConditionGroup ( |
Creates a conditions for a condition group. |
public __construct ( Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface $manager, Symfony\Component\HttpFoundation\RequestStack $requestStack ) | ||
$manager | Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface | |
$requestStack | Symfony\Component\HttpFoundation\RequestStack |
public applyFilterToList ( Sulu\Component\Rest\ListBuilder\ListBuilderInterface $listBuilder ) | ||
$listBuilder | Sulu\Component\Rest\ListBuilder\ListBuilderInterface |
protected createConjunctionExpression ( array $expressions, string $conjunction ) : Sulu\Component\Rest\ListBuilder\Expression\ConjunctionExpressionInterface | ||
$expressions | array | |
$conjunction | string | |
리턴 | Sulu\Component\Rest\ListBuilder\Expression\ConjunctionExpressionInterface |
protected createExpression ( |
||
$condition | ||
$fieldDescriptor | Sulu\Component\Rest\ListBuilder\AbstractFieldDescriptor |
protected getBoolean ( $value ) : boolean | ||
$value | ||
리턴 | boolean |
protected handleCreatedExpressions ( array $expressions, string $conjunction ) | ||
$expressions | array | |
$conjunction | string |
protected processConditionGroup ( |
||
$conditionGroup |
protected ExpressionInterface[],Sulu\Component\Rest\ListBuilder\Expression $expressions | ||
리턴 | Sulu\Component\Rest\ListBuilder\Expression\ExpressionInterface[] |
protected FilterManagerInterface,Sulu\Bundle\ResourceBundle\Resource $filterManager | ||
리턴 | Sulu\Bundle\ResourceBundle\Resource\FilterManagerInterface |
protected ListBuilderInterface,Sulu\Component\Rest\ListBuilder $listBuilder | ||
리턴 | Sulu\Component\Rest\ListBuilder\ListBuilderInterface |