PHP Class Sulu\Bundle\ResourceBundle\Entity\ConditionGroup

Mostrar archivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addCondition ( Condition $conditions ) : ConditionGroup Add conditions.
getConditions ( ) : Doctrine\Common\Collections\Collection Get conditions.
getFilter ( ) : Filter Get filter.
getId ( ) : integer Get id.
removeCondition ( Condition $conditions ) Remove conditions.
setFilter ( Filter $filter ) : ConditionGroup Set filter.

Method Details

__construct() public method

Constructor.
public __construct ( )

addCondition() public method

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

getConditions() public method

Get conditions.
public getConditions ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getFilter() public method

Get filter.
public getFilter ( ) : Filter
return Filter

getId() public method

Get id.
public getId ( ) : integer
return integer

removeCondition() public method

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

setFilter() public method

Set filter.
public setFilter ( Filter $filter ) : ConditionGroup
$filter Filter
return ConditionGroup