3 abstract class PhabricatorConfigController
extends PhabricatorController
{
5 public function shouldRequireAdmin() {
9 public function buildHeaderView($text, $action = null) {
10 $viewer = $this->getViewer();
12 $file = PhabricatorFile
::loadBuiltin($viewer, 'projects/v3/manage.png');
13 $image = $file->getBestURI($file);
14 $header = id(new PHUIHeaderView())
16 ->setProfileHeader(true)
20 $header->addActionLink($action);
26 public function buildConfigBoxView($title, $content, $action = null) {
27 $header = id(new PHUIHeaderView())
31 $header->addActionItem($action);
34 $view = id(new PHUIObjectBoxView())
36 ->appendChild($content)
37 ->setBackground(PHUIObjectBoxView
::WHITE_CONFIG
);