Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93647819
AlmanacPropertiesSearchEngineAttachment.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
Sat, Nov 30, 10:23
Size
584 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 10:23 (2 d)
Engine
blob
Format
Raw Data
Handle
22682938
Attached To
rPH Phabricator
AlmanacPropertiesSearchEngineAttachment.php
View Options
<?php
final
class
AlmanacPropertiesSearchEngineAttachment
extends
AlmanacSearchEngineAttachment
{
public
function
getAttachmentName
()
{
return
pht
(
'Almanac Properties'
);
}
public
function
getAttachmentDescription
()
{
return
pht
(
'Get Almanac properties for the object.'
);
}
public
function
willLoadAttachmentData
(
$query
,
$spec
)
{
$query
->
needProperties
(
true
);
}
public
function
getAttachmentForObject
(
$object
,
$data
,
$spec
)
{
$properties
=
$this
->
getAlmanacPropertyList
(
$object
);
return
array
(
'properties'
=>
$properties
,
);
}
}
Event Timeline
Log In to Comment