Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F172578
read_fields.php
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
epriestley
Jun 30 2014, 8:19 PM
2014-06-30 20:19:42 (UTC+0)
Size
393 B
Referenced Files
None
Subscribers
None
read_fields.php
View Options
$field_list
=
PhabricatorCustomField
::
getObjectFields
(
$task
,
PhabricatorCustomField
::
ROLE_DEFAULT
);
$field_list
->
setViewer
(
$user
);
$field_list
->
readFieldsFromStorage
(
$task
);
foreach
(
$field_list
->
getFields
()
as
$field
)
{
$key
=
$field
->
getFieldKey
();
$value
=
$field
->
getValueForStorage
();
// Do something with $key and $value.
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/zq/od/gt3ngpmgfehbffcq
Default Alt Text
read_fields.php (393 B)
Attached To
Mode
P1190 read_fields.php
Attached
Detach File
Event Timeline
Log In to Comment