34 $this->conditions = array();
37 if($condition->show())
39 $this->conditions[] = $condition;
42 if(count($this->conditions) === 0)
61 if($this->pipe !==
$pipe)
75 if(!isset($this->_group))
80 foreach($this->conditions as $condition)
84 $condition->setPipe(
"");
86 $group .= $condition->toString($with_value) .
' ';
90 if($this->pipe !==
"" && trim($group) !==
'')
92 $group = $this->pipe .
' (' . $group .
')';
95 $this->_group = $group;
107 foreach($this->conditions as $condition)
109 $arg = $condition->getArgument();
toString($with_value=true)
__construct($conditions, $pipe="")