Page MenuHomePhorge

PhabricatorPasteContentSearchEngineAttachment.php
No OneTemporary

Size
538 B
Referenced Files
None
Subscribers
None

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
Sun, May 11, 1:28 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
105213
Default Alt Text
PhabricatorPasteContentSearchEngineAttachment.php (538 B)

Event Timeline