Page MenuHomePhabricator
Paste P1235

snippet
ActivePublic

Authored by epriestley on Aug 14 2014, 9:05 PM.
Tags
None
Referenced Files
F190645: snippet
Aug 14 2014, 9:05 PM
Subscribers
None
$field_list = PhabricatorCustomField::getObjectFields(
$task,
PhabricatorCustomField::ROLE_EDIT);
$field_list
->setViewer($user)
->readFieldsFromStorage($task);
foreach ($field_list as $field) {
if ($field->getFieldKey() == 'something special') {
$security_value = $field->getValue();
break;
}
}

Event Timeline

epriestley changed the title of this paste from untitled to snippet.
epriestley updated the paste's language from autodetect to autodetect.