[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class PhabricatorHomeQuickCreateController 4 extends PhabricatorHomeController { 5 6 public function processRequest() { 7 $viewer = $this->getRequest()->getUser(); 8 9 $items = $this->getCurrentApplication()->loadAllQuickCreateItems($viewer); 10 11 $list = id(new PHUIObjectItemListView()) 12 ->setUser($viewer); 13 14 foreach ($items as $item) { 15 $list->addItem( 16 id(new PHUIObjectItemView()) 17 ->setHeader($item->getName()) 18 ->setWorkflow($item->getWorkflow()) 19 ->setHref($item->getHref())); 20 } 21 22 $crumbs = $this->buildApplicationCrumbs(); 23 $crumbs->addTextCrumb(pht('Quick Create')); 24 25 return $this->buildApplicationPage( 26 array( 27 $crumbs, 28 $list, 29 ), 30 array( 31 'title' => pht('Quick Create'), 32 )); 33 } 34 35 36 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |