1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 08:12:40 +01:00
phorge-phorge/src/applications/project/controller/PhabricatorProjectBoardController.php

25 lines
579 B
PHP
Raw Normal View History

<?php
abstract class PhabricatorProjectBoardController
extends PhabricatorProjectController {
private $project;
protected function setProject(PhabricatorProject $project) {
$this->project = $project;
return $this;
}
protected function getProject() {
return $this->project;
}
protected function buildApplicationCrumbs() {
$project = $this->getProject();
$crumbs = parent::buildApplicationCrumbs();
$crumbs->addTextCrumb(
$project->getName(),
$this->getApplicationURI('view/'.$project->getID().'/'));
return $crumbs;
}
}