diff --git a/Models/Category.php b/Models/Category.php index 44f3c26..59bc64d 100644 --- a/Models/Category.php +++ b/Models/Category.php @@ -47,7 +47,7 @@ class Category return $this->id; } - public function getParent() + public function getParent() { return $this->parent; } @@ -57,7 +57,7 @@ class Category $this->parent = $parent; } - public function getResponsible() + public function getResponsible() { return $this->responsible; } @@ -72,11 +72,11 @@ class Category $this->deputy = $deputy; } - public function getDeputy() + public function getDeputy() { return $this->deputy; } - + public function getTitle() : string { return $this->title; diff --git a/Models/Cause.php b/Models/Cause.php index b8d9b22..9396da1 100644 --- a/Models/Cause.php +++ b/Models/Cause.php @@ -54,7 +54,7 @@ class Cause $this->risk = $risk; } - public function getRisk() + public function getRisk() { return $this->risk; } @@ -79,7 +79,7 @@ class Cause $this->probability = $probability; } - public function getDepartment() + public function getDepartment() { return $this->department; } diff --git a/Models/Department.php b/Models/Department.php index 32194aa..886acb7 100644 --- a/Models/Department.php +++ b/Models/Department.php @@ -53,7 +53,7 @@ class Department $this->department = $department; } - public function getResponsible() + public function getResponsible() { return $this->responsible; } @@ -63,7 +63,7 @@ class Department $this->responsible = $responsible; } - public function getDeputy() + public function getDeputy() { return $this->deputy; } diff --git a/Models/Process.php b/Models/Process.php index 8a810f4..c9108cb 100644 --- a/Models/Process.php +++ b/Models/Process.php @@ -74,7 +74,7 @@ class Process $this->descriptionRaw = $description; } - public function getUnit() + public function getUnit() { return $this->unit; } @@ -84,7 +84,7 @@ class Process $this->unit = $unit; } - public function getDepartment() + public function getDepartment() { return $this->department; } @@ -94,7 +94,7 @@ class Process $this->department = $department; } - public function getResponsible() + public function getResponsible() { return $this->responsible; } @@ -104,7 +104,7 @@ class Process $this->responsible = $responsible; } - public function getDeputy() + public function getDeputy() { return $this->deputy; } diff --git a/Models/Project.php b/Models/Project.php index 62245f0..ead5a50 100644 --- a/Models/Project.php +++ b/Models/Project.php @@ -51,7 +51,7 @@ class Project $this->project = $project; } - public function getResponsible() + public function getResponsible() { return $this->responsible; } @@ -61,7 +61,7 @@ class Project $this->responsible = $responsible; } - public function getDeputy() + public function getDeputy() { return $this->deputy; } diff --git a/Models/Risk.php b/Models/Risk.php index d132165..8b704ed 100644 --- a/Models/Risk.php +++ b/Models/Risk.php @@ -140,7 +140,7 @@ class Risk return $this->descriptionRaw; } - public function getUnit() + public function getUnit() { return $this->unit; } @@ -160,7 +160,7 @@ class Risk $this->department = $department; } - public function getCategory() + public function getCategory() { return $this->category; } @@ -170,7 +170,7 @@ class Risk $this->category = $category; } - public function getProject() + public function getProject() { return $this->project; } @@ -180,7 +180,7 @@ class Risk $this->project = $project; } - public function getProcess() + public function getProcess() { return $this->process; } @@ -190,7 +190,7 @@ class Risk $this->process = $process; } - public function getResponsible() + public function getResponsible() { return $this->responsible; } @@ -200,7 +200,7 @@ class Risk $this->responsible = $responsible; } - public function getDeputy() + public function getDeputy() { return $this->deputy; } diff --git a/Models/RiskMapper.php b/Models/RiskMapper.php index 68746f2..e436689 100644 --- a/Models/RiskMapper.php +++ b/Models/RiskMapper.php @@ -51,25 +51,25 @@ class RiskMapper extends DataMapperAbstract * @since 1.0.0 */ protected static $hasMany = [ - 'media' => [ + 'media' => [ 'mapper' => MediaMapper::class, 'table' => 'riskmngmt_risk_media', 'dst' => 'riskmngmt_risk_media_risk', 'src' => 'riskmngmt_risk_media_media', ], - 'riskObjects' => [ + 'riskObjects' => [ 'mapper' => RiskObjectMapper::class, 'table' => 'riskmngmt_risk_object', 'dst' => 'riskmngmt_risk_object_risk', 'src' => null, ], - 'causes' => [ + 'causes' => [ 'mapper' => CauseMapper::class, 'table' => 'riskmngmt_cause', 'dst' => 'riskmngmt_cause_risk', 'src' => null, ], - 'solutions' => [ + 'solutions' => [ 'mapper' => SolutionMapper::class, 'table' => 'riskmngmt_solution', 'dst' => 'riskmngmt_solution_risk', diff --git a/Models/RiskObject.php b/Models/RiskObject.php index a7869e5..45a3e4c 100644 --- a/Models/RiskObject.php +++ b/Models/RiskObject.php @@ -31,7 +31,7 @@ class RiskObject private $description = ''; private $descriptionRaw = ''; - + private $risk = null; public function __construct() @@ -43,7 +43,7 @@ class RiskObject return $this->id; } - public function getRisk() + public function getRisk() { return $this->risk; } diff --git a/Models/Solution.php b/Models/Solution.php index 774bcdb..dbaf17e 100644 --- a/Models/Solution.php +++ b/Models/Solution.php @@ -52,7 +52,7 @@ class Solution $this->risk = $risk; } - public function getRisk() + public function getRisk() { return $this->risk; } @@ -62,7 +62,7 @@ class Solution $this->cause = $cause; } - public function getCause() + public function getCause() { return $this->cause; } diff --git a/Theme/Backend/category-single.tpl.php b/Theme/Backend/category-single.tpl.php index 9200417..7c056e3 100644 --- a/Theme/Backend/category-single.tpl.php +++ b/Theme/Backend/category-single.tpl.php @@ -11,4 +11,4 @@ * @link http://website.orange-management.de */ $category = $this->getData('category'); -echo $this->getData('nav')->render(); +echo $this->getData('nav')->render(); diff --git a/Theme/Backend/cause-create.tpl.php b/Theme/Backend/cause-create.tpl.php index ee90bca..a448367 100644 --- a/Theme/Backend/cause-create.tpl.php +++ b/Theme/Backend/cause-create.tpl.php @@ -10,4 +10,4 @@ * @version 1.0.0 * @link http://website.orange-management.de */ -echo $this->getData('nav')->render(); +echo $this->getData('nav')->render(); diff --git a/Theme/Backend/cause-single.tpl.php b/Theme/Backend/cause-single.tpl.php index 3c3939c..8e5d977 100644 --- a/Theme/Backend/cause-single.tpl.php +++ b/Theme/Backend/cause-single.tpl.php @@ -11,4 +11,4 @@ * @link http://website.orange-management.de */ $cause = $this->getData('cause'); -echo $this->getData('nav')->render(); +echo $this->getData('nav')->render(); diff --git a/Theme/Backend/department-single.tpl.php b/Theme/Backend/department-single.tpl.php index 9fa1fff..0682ee9 100644 --- a/Theme/Backend/department-single.tpl.php +++ b/Theme/Backend/department-single.tpl.php @@ -51,7 +51,7 @@ echo $this->getData('nav')->render(); ?> - +

getHtml('Media') ?>

diff --git a/Theme/Backend/process-single.tpl.php b/Theme/Backend/process-single.tpl.php index 5741ea4..578b23c 100644 --- a/Theme/Backend/process-single.tpl.php +++ b/Theme/Backend/process-single.tpl.php @@ -11,4 +11,4 @@ * @link http://website.orange-management.de */ $process = $this->getData('process'); -echo $this->getData('nav')->render(); +echo $this->getData('nav')->render(); diff --git a/Theme/Backend/project-single.tpl.php b/Theme/Backend/project-single.tpl.php index c8bee00..320afd1 100644 --- a/Theme/Backend/project-single.tpl.php +++ b/Theme/Backend/project-single.tpl.php @@ -11,4 +11,4 @@ * @link http://website.orange-management.de */ $project = $this->getData('project'); -echo $this->getData('nav')->render(); +echo $this->getData('nav')->render(); diff --git a/Theme/Backend/risk-create.tpl.php b/Theme/Backend/risk-create.tpl.php index 5b14bca..4ab0055 100644 --- a/Theme/Backend/risk-create.tpl.php +++ b/Theme/Backend/risk-create.tpl.php @@ -56,7 +56,7 @@ echo $this->getData('nav')->render(); ?>
- +

getHtml('Media') ?>

diff --git a/Theme/Backend/risk-single.tpl.php b/Theme/Backend/risk-single.tpl.php index 87f8d4b..ab5fb8d 100644 --- a/Theme/Backend/risk-single.tpl.php +++ b/Theme/Backend/risk-single.tpl.php @@ -47,7 +47,7 @@ echo $this->getData('nav')->render(); ?>
- +

getHtml('Media') ?>

diff --git a/Theme/Backend/settings-dashboard.tpl.php b/Theme/Backend/settings-dashboard.tpl.php index ee90bca..a448367 100644 --- a/Theme/Backend/settings-dashboard.tpl.php +++ b/Theme/Backend/settings-dashboard.tpl.php @@ -10,4 +10,4 @@ * @version 1.0.0 * @link http://website.orange-management.de */ -echo $this->getData('nav')->render(); +echo $this->getData('nav')->render(); diff --git a/Theme/Backend/solution-single.tpl.php b/Theme/Backend/solution-single.tpl.php index 32ca3e0..440212f 100644 --- a/Theme/Backend/solution-single.tpl.php +++ b/Theme/Backend/solution-single.tpl.php @@ -11,4 +11,4 @@ * @link http://website.orange-management.de */ $solution = $this->getData('solution'); -echo $this->getData('nav')->render(); +echo $this->getData('nav')->render(); diff --git a/Theme/Backend/unit-single.tpl.php b/Theme/Backend/unit-single.tpl.php index 3e1b23f..0d349e8 100644 --- a/Theme/Backend/unit-single.tpl.php +++ b/Theme/Backend/unit-single.tpl.php @@ -52,7 +52,7 @@ echo $this->getData('nav')->render(); ?>
- +

getHtml('Media') ?>