@@ -89,6 +89,9 @@ |
||
89 | 89 | return $this->getDocumentsOfType('acceptance'); |
90 | 90 | } |
91 | 91 | |
92 | + /** |
|
93 | + * @param string $type |
|
94 | + */ |
|
92 | 95 | public function getDocumentsOfType($type) |
93 | 96 | { |
94 | 97 | if (Yii::$app->user->can('document.read') === false) { |