data['department'] ?? new NullDepartment(); $categories = []; $projects = []; $processes = []; $causes = []; $solutions = []; foreach ($this->data['risks'] as $risk) { $categories[$risk->category?->id] = $risk->category; $projects[$risk->project?->id] = $risk->project; $processes[$risk->process?->id] = $risk->process; foreach ($risk->causes as $cause) { $causes[$cause->id] = $cause; } foreach ($risk->solutions as $solution) { $solutions[$solution->id] = $solution; } } echo $this->data['nav']->render(); ?>
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Title'); ?> | = $this->getHtml('Causes'); ?> | = $this->getHtml('Solutions'); ?> | = $this->getHtml('RiskObjects'); ?> |
| = $value->id; ?> | = $this->printHtml($value->name); ?> | = \count($value->causes); ?> | = \count($value->solutions); ?> | = \count($value->riskObjects); ?> |
| = $this->getHtml('Empty', '0', '0'); ?> | ||||
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Title'); ?> | |
| = $value->id; ?> | = $this->printHtml($value->title); ?> | |
| = $this->getHtml('Empty', '0', '0'); ?> | ||
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Title'); ?> | |
| = $value->id; ?> | = $this->printHtml($value->project->name); ?> | |
| = $this->getHtml('Empty', '0', '0'); ?> | ||
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Title'); ?> | |
| = $value->id; ?> | = $this->printHtml($value->title); ?> | |
| = $this->getHtml('Empty', '0', '0'); ?> | ||
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Title'); ?> | = $this->getHtml('Risk'); ?> |
| = $value->id; ?> | = $this->printHtml($value->title); ?> | = $this->printHtml($value->risk->name); ?> |
| = $this->getHtml('Empty', '0', '0'); ?> | ||
| = $this->getHtml('ID', '0', '0'); ?> | = $this->getHtml('Title'); ?> | = $this->getHtml('Risk'); ?> | = $this->getHtml('Cause'); ?> |
| = $value->id; ?> | = $this->printHtml($value->title); ?> | = $this->printHtml($value->risk->name); ?> | = $this->printHtml($value->cause->title); ?> |
| = $this->getHtml('Empty', '0', '0'); ?> | |||