Page MenuHomePhorge

AlmanacBindingsSearchEngineAttachment.php
No OneTemporary

Size
697 B
Referenced Files
None
Subscribers
None

AlmanacBindingsSearchEngineAttachment.php

<?php
final class AlmanacBindingsSearchEngineAttachment
extends AlmanacSearchEngineAttachment {
public function getAttachmentName() {
return pht('Almanac Bindings');
}
public function getAttachmentDescription() {
return pht('Get Almanac bindings for the service.');
}
public function willLoadAttachmentData($query, $spec) {
$query->needProperties(true);
$query->needBindings(true);
}
public function getAttachmentForObject($object, $data, $spec) {
$bindings = array();
foreach ($object->getBindings() as $binding) {
$bindings[] = $this->getAlmanacBindingDictionary($binding);
}
return array(
'bindings' => $bindings,
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Jul 1, 2:47 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
269505
Default Alt Text
AlmanacBindingsSearchEngineAttachment.php (697 B)

Event Timeline