Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98593432
HeraldAlwaysField.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
Tue, Jan 14, 16:30
Size
529 B
Mime Type
text/x-php
Expires
Thu, Jan 16, 16:30 (2 d)
Engine
blob
Format
Raw Data
Handle
23601206
Attached To
rPH Phabricator
HeraldAlwaysField.php
View Options
<?php
final
class
HeraldAlwaysField
extends
HeraldField
{
const
FIELDCONST
=
'always'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Always'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
true
;
}
public
function
getHeraldFieldConditions
()
{
return
array
(
HeraldAdapter
::
CONDITION_UNCONDITIONALLY
,
);
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
new
HeraldEmptyFieldValue
();
}
public
function
supportsObject
(
$object
)
{
return
true
;
}
}
Event Timeline
Log In to Comment