| @@ 97-99 (lines=3) @@ | ||
| 94 | } | |
| 95 | } | |
| 96 | ||
| 97 |         if (count($this->model_obj_nodes) >= $this->count && $this->allChildrenComplete()) { | |
| 98 | $this->complete = true; | |
| 99 | } | |
| 100 | return $num_identified; | |
| 101 | } | |
| 102 | ||
| @@ 155-159 (lines=5) @@ | ||
| 152 | public function isComplete() | |
| 153 |     { | |
| 154 |         if ($this->complete === null) { | |
| 155 |             if (count($this->model_obj_nodes) === $this->count) { | |
| 156 | $this->complete = true; | |
| 157 |             } else { | |
| 158 | $this->complete = false; | |
| 159 | } | |
| 160 | } | |
| 161 | return $this->complete; | |
| 162 | } | |