conditions[] = $condition; } } /** * Returns the conditions in this boolean set. * * @return ezcWorkflowCondition[] * @ignore */ public function getConditions() { return $this->conditions; } /** * Returns a textual representation of this condition. * * @return string * @ignore */ public function __toString() { $string = '( '; foreach ( $this->conditions as $condition ) { if ( $string != '( ' ) { $string .= ' ' . $this->concatenation . ' '; } $string .= $condition; } return $string . ' )'; } } ?>