From 0f3882e8b26bf1af9845503a0492ad62e451d45c Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 19 Nov 2015 12:58:25 +0100 Subject: [PATCH] Node::hasProblems(): new method --- library/Businessprocess/Node.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/Businessprocess/Node.php b/library/Businessprocess/Node.php index 5e89810..199cbb9 100644 --- a/library/Businessprocess/Node.php +++ b/library/Businessprocess/Node.php @@ -112,6 +112,11 @@ abstract class Node return $this; } + public function hasProblems() + { + return $this->getState() > 0; + } + public function hasBeenChanged() { return false;