[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 abstract class ManiphestCustomField 4 extends PhabricatorCustomField { 5 6 public function newStorageObject() { 7 return new ManiphestCustomFieldStorage(); 8 } 9 10 protected function newStringIndexStorage() { 11 return new ManiphestCustomFieldStringIndex(); 12 } 13 14 protected function newNumericIndexStorage() { 15 return new ManiphestCustomFieldNumericIndex(); 16 } 17 18 /** 19 * When the user creates a task, the UI prompts them to "Create another 20 * similar task". This copies some fields (e.g., Owner and CCs) but not other 21 * fields (e.g., description). If this custom field should also be copied, 22 * return true from this method. 23 * 24 * @return bool True to copy the default value from the template task when 25 * creating a new similar task. 26 */ 27 public function shouldCopyWhenCreatingSimilarTask() { 28 return false; 29 } 30 31 }
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 |