Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93192750
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, Nov 26, 22:11
Size
622 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 22:11 (2 d)
Engine
blob
Format
Raw Data
Handle
22593077
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
getFieldGroupKey
()
{
return
HeraldBasicFieldGroup
::
FIELDGROUPKEY
;
}
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