Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106270966
PhabricatorStandardCustomFieldHeader.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Mar 24, 06:49
Size
838 B
Mime Type
text/x-php
Expires
Wed, Mar 26, 06:49 (2 d)
Engine
blob
Format
Raw Data
Handle
25114356
Attached To
rPH Phabricator
PhabricatorStandardCustomFieldHeader.php
View Options
<?php
final
class
PhabricatorStandardCustomFieldHeader
extends
PhabricatorStandardCustomField
{
public
function
getFieldType
()
{
return
'header'
;
}
public
function
renderEditControl
(
array
$handles
)
{
$header
=
phutil_tag
(
'div'
,
array
(
'class'
=>
'phabricator-standard-custom-field-header'
,
),
$this
->
getFieldName
());
return
id
(
new
AphrontFormStaticControl
())
->
setValue
(
$header
);
}
public
function
shouldUseStorage
()
{
return
false
;
}
public
function
getStyleForPropertyView
()
{
return
'header'
;
}
public
function
renderPropertyViewValue
(
array
$handles
)
{
return
$this
->
getFieldName
();
}
public
function
shouldAppearInApplicationSearch
()
{
return
false
;
}
public
function
shouldAppearInConduitTransactions
()
{
return
false
;
}
}
Event Timeline
Log In to Comment