[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/people/customfield/ -> PhabricatorUserConfiguredCustomField.php (source)

   1  <?php
   2  
   3  final class PhabricatorUserConfiguredCustomField
   4    extends PhabricatorUserCustomField
   5    implements PhabricatorStandardCustomFieldInterface {
   6  
   7    public function getStandardCustomFieldNamespace() {
   8      return 'user';
   9    }
  10  
  11    public function createFields($object) {
  12      return PhabricatorStandardCustomField::buildStandardFields(
  13        $this,
  14        PhabricatorEnv::getEnvConfig('user.custom-field-definitions', array()));
  15    }
  16  
  17    public function newStorageObject() {
  18      return new PhabricatorUserConfiguredCustomFieldStorage();
  19    }
  20  
  21    protected function newStringIndexStorage() {
  22      return new PhabricatorUserCustomFieldStringIndex();
  23    }
  24  
  25    protected function newNumericIndexStorage() {
  26      return new PhabricatorUserCustomFieldNumericIndex();
  27    }
  28  
  29  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1