Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1093807
HeraldContentSourceField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
633 B
Referenced Files
None
Subscribers
None
HeraldContentSourceField.php
View Options
<?php
final
class
HeraldContentSourceField
extends
HeraldField
{
const
FIELDCONST
=
'contentsource'
;
public
function
getHeraldFieldName
()
{
return
pht
(
'Content source'
);
}
public
function
getHeraldFieldValue
(
$object
)
{
return
$this
->
getAdapter
()->
getContentSource
()->
getSource
();
}
public
function
getHeraldFieldConditions
()
{
return
array
(
HeraldAdapter
::
CONDITION_IS
,
HeraldAdapter
::
CONDITION_IS_NOT
,
);
}
public
function
getHeraldFieldValueType
(
$condition
)
{
return
HeraldAdapter
::
VALUE_CONTENT_SOURCE
;
}
public
function
supportsObject
(
$object
)
{
return
true
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 30, 8:07 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
270319
Default Alt Text
HeraldContentSourceField.php (633 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment