[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class PhabricatorCustomFieldImplementationIncompleteException 4 extends Exception { 5 6 public function __construct( 7 PhabricatorCustomField $field, 8 $field_key_is_incomplete = false) { 9 10 if ($field_key_is_incomplete) { 11 $key = pht('<incomplete key>'); 12 $name = pht('<incomplete name>'); 13 } else { 14 $key = $field->getFieldKey(); 15 $name = $field->getFieldName(); 16 } 17 18 $class = get_class($field); 19 20 parent::__construct( 21 "Custom field '{$name}' (with key '{$key}', of class '{$class}') is ". 22 "incompletely implemented: it claims to support a feature, but does not ". 23 "implement all of the required methods for that feature."); 24 } 25 26 }
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 |