Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97011808
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
Wed, Jan 1, 15:03
Size
584 B
Mime Type
text/x-php
Expires
Fri, Jan 3, 15:03 (2 d)
Engine
blob
Format
Raw Data
Handle
23312132
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