Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97019291
HeraldFieldValue.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
Wed, Jan 1, 16:59
Size
892 B
Mime Type
text/x-php
Expires
Fri, Jan 3, 16:59 (2 d)
Engine
blob
Format
Raw Data
Handle
23313536
Attached To
rPH Phabricator
HeraldFieldValue.php
View Options
<?php
abstract
class
HeraldFieldValue
extends
Phobject
{
private
$viewer
;
const
CONTROL_NONE
=
'herald.control.none'
;
const
CONTROL_TEXT
=
'herald.control.text'
;
const
CONTROL_SELECT
=
'herald.control.select'
;
const
CONTROL_TOKENIZER
=
'herald.control.tokenizer'
;
abstract
public
function
getFieldValueKey
();
abstract
public
function
getControlType
();
abstract
public
function
renderFieldValue
(
$value
);
public
function
setViewer
(
PhabricatorUser
$viewer
)
{
$this
->
viewer
=
$viewer
;
return
$this
;
}
public
function
getViewer
()
{
return
$this
->
viewer
;
}
final
public
function
getControlSpecificationDictionary
()
{
return
array
(
'key'
=>
$this
->
getFieldValueKey
(),
'control'
=>
$this
->
getControlType
(),
'template'
=>
$this
->
getControlTemplate
(),
);
}
protected
function
getControlTemplate
()
{
return
array
();
}
}
Event Timeline
Log In to Comment