projectsService = $projectsService; $this->menuService = $menuService; } /** * Renders the project card progress bar partial. */ public function getProgress(): void { $projectId = $_GET['pId']; $project = $this->projectsService->getProjectCardData($projectId); $projectTypeAvatars = $this->menuService->getProjectTypeAvatars(); $currentUrlPath = BASE_URL.'/'.str_replace('.', '/', Frontcontroller::getCurrentRoute()); $this->tpl->assign('projectTypeAvatars', $projectTypeAvatars); $this->tpl->assign('currentUrlPath', $currentUrlPath); $this->tpl->assign('project', $project); $this->tpl->assign('type', 'full'); } }