| <?php |
|
|
| namespace Kanboard\Controller; |
|
|
| |
| |
| |
| |
| |
| |
| class ProjectOverviewController extends BaseController |
| { |
| |
| |
| |
| public function show() |
| { |
| $project = $this->getProject(); |
| $columns = $this->columnModel->getAllWithTaskCount($project['id']); |
|
|
| $this->response->html($this->helper->layout->app('project_overview/show', array( |
| 'project' => $project, |
| 'columns' => $columns, |
| 'title' => $project['name'], |
| 'description' => $this->helper->projectHeader->getDescription($project), |
| 'users' => $this->projectUserRoleModel->getAllUsersGroupedByRole($project['id']), |
| 'roles' => $this->projectRoleModel->getList($project['id']), |
| 'events' => $this->helper->projectActivity->getProjectEvents($project['id'], 10), |
| 'images' => $this->projectFileModel->getAllImages($project['id']), |
| 'files' => $this->projectFileModel->getAllDocuments($project['id']), |
| ))); |
| } |
| } |
|
|