59 $conditions_string =
'array(' . PHP_EOL;
60 foreach($this->conditions as $condition)
62 $conditions_string .= $condition->getConditionString() . PHP_EOL .
',';
64 $conditions_string = substr($conditions_string, 0, -2);
65 $conditions_string .=
')';
67 return sprintf(
"new ConditionGroup(%s%s)", $conditions_string, $this->pipe ?
',\'' . $this->pipe .
'\'' :
'');
73 foreach($this->conditions as $condition)
75 $arguments = array_merge($arguments, $condition->getArguments());
getConditionGroupString()
__construct($conditions, $pipe="")