* $condition = new ezcWorkflowConditionVariable ( 'variable name' , * new ezcWorkflowConditionIsArray * ); * * * @package Workflow * @version 1.1rc1 */ class ezcWorkflowConditionIsArray extends ezcWorkflowConditionType { /** * Evaluates this condition and returns true if $value is an array or false if not. * * @param mixed $value * @return boolean true when the condition holds, false otherwise. * @ignore */ public function evaluate( $value ) { return is_array( $value ); } /** * Returns a textual representation of this condition. * * @return string * @ignore */ public function __toString() { return 'is array'; } } ?>