[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class NuancePhabricatorFormSourceDefinition 4 extends NuanceSourceDefinition { 5 6 public function getName() { 7 return pht('Phabricator Form'); 8 } 9 10 public function getSourceTypeConstant() { 11 return 'phabricator-form'; 12 } 13 14 public function updateItems() { 15 return null; 16 } 17 18 protected function augmentEditForm( 19 AphrontFormView $form, 20 PhabricatorApplicationTransactionValidationException $ex = null) { 21 22 /* TODO - add a box to allow for custom fields to be defined here, so that 23 * these NuanceSource objects made from this defintion can be used to 24 * capture arbitrary data */ 25 26 return $form; 27 } 28 29 protected function buildTransactions(AphrontRequest $request) { 30 $transactions = parent::buildTransactions($request); 31 32 // TODO -- as above 33 34 return $transactions; 35 } 36 37 public function renderView() {} 38 39 public function renderListView() {} 40 41 }
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 |