Page MenuHomec4science

PhabricatorUserConfiguredCustomField.php
No OneTemporary

File Metadata

Created
Mon, Nov 25, 17:39

PhabricatorUserConfiguredCustomField.php

<?php
final class PhabricatorUserConfiguredCustomField
extends PhabricatorUserCustomField
implements PhabricatorStandardCustomFieldInterface {
public function getStandardCustomFieldNamespace() {
return 'user';
}
public function createFields() {
return PhabricatorStandardCustomField::buildStandardFields(
$this,
PhabricatorEnv::getEnvConfig('user.custom-field-definitions', array()));
}
public function newStorageObject() {
return new PhabricatorUserConfiguredCustomFieldStorage();
}
protected function newStringIndexStorage() {
return new PhabricatorUserCustomFieldStringIndex();
}
protected function newNumericIndexStorage() {
return new PhabricatorUserCustomFieldNumericIndex();
}
}

Event Timeline