PHP Class Sulu\Bundle\ResourceBundle\Api\ConditionGroup

Inheritance: extends Sulu\Component\Rest\ApiWrapper
ファイルを表示 Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( ConditionGroup $entity, string $locale )
addCondition ( Condition $condition ) : ConditionGroup Add conditions.
getConditions ( ) : null | Condition[] Get conditions.
getFilter ( ) : Filter Get filter.
getId ( ) : integer Get id.
removeCondition ( Condition $condition ) Remove condition.
setFilter ( Filter $filter ) Set filter.

Method Details

__construct() public method

public __construct ( ConditionGroup $entity, string $locale )
$entity Sulu\Bundle\ResourceBundle\Entity\ConditionGroup
$locale string

addCondition() public method

Add conditions.
public addCondition ( Condition $condition ) : ConditionGroup
$condition Condition
return ConditionGroup

getConditions() public method

Get conditions.
public getConditions ( ) : null | Condition[]
return null | Condition[]

getFilter() public method

Get filter.
public getFilter ( ) : Filter
return Filter

getId() public method

Get id.
public getId ( ) : integer
return integer

removeCondition() public method

Remove condition.
public removeCondition ( Condition $condition )
$condition Condition

setFilter() public method

Set filter.
public setFilter ( Filter $filter )
$filter Filter