ezcWorkflow::isInteractive PHP Метод

isInteractive() публичный Метод

Returns true when the workflow requires user interaction (ie. when it contains ezcWorkflowNodeInput nodes) and false otherwise.
public isInteractive ( ) : boolean
Результат boolean true when the workflow is interactive, false otherwise.
    public function isInteractive()
    {
        foreach ($this->nodes as $node) {
            if ($node instanceof ezcWorkflowNodeInput) {
                return true;
            }
        }
        return false;
    }