Page MenuHome GnuPG

PhabricatorPasteContentSearchEngineAttachment.php
No OneTemporary

PhabricatorPasteContentSearchEngineAttachment.php

<?php
final class PhabricatorPasteContentSearchEngineAttachment
extends PhabricatorSearchEngineAttachment {
public function getAttachmentName() {
return pht('Paste Content');
}
public function getAttachmentDescription() {
return pht('Get the full content for each paste.');
}
public function willLoadAttachmentData($query, $spec) {
$query->needRawContent(true);
}
public function getAttachmentForObject($object, $data, $spec) {
return array(
'content' => $object->getRawContent(),
);
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Dec 9, 1:06 AM (18 h, 1 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1b/07/da46808d2975b6bc92324ec4afae

Event Timeline