Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1235
snippet
Active
Public
Actions
Authored by
epriestley
on Aug 14 2014, 9:05 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F190645: snippet
Aug 14 2014, 9:05 PM
2014-08-14 21:05:28 (UTC+0)
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
edited the content of this paste.
(Show Details)
Aug 14 2014, 9:05 PM
2014-08-14 21:05:28 (UTC+0)
epriestley
changed the title of this paste from untitled to
snippet
.
epriestley
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment