Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/editor/ConpherenceEditor.php
Show First 20 Lines • Show All 453 Lines • ▼ Show 20 Lines | final class ConpherenceEditor extends PhabricatorApplicationTransactionEditor { | ||||
protected function shouldPublishFeedStory( | protected function shouldPublishFeedStory( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
array $xactions) { | array $xactions) { | ||||
return false; | return false; | ||||
} | } | ||||
protected function supportsSearch() { | protected function supportsSearch() { | ||||
return false; | return true; | ||||
} | |||||
protected function getSearchContextParameter( | |||||
PhabricatorLiskDAO $object, | |||||
array $xactions) { | |||||
$comment_phids = array(); | |||||
foreach ($xactions as $xaction) { | |||||
if ($xaction->hasComment()) { | |||||
$comment_phids[] = $xaction->getPHID(); | |||||
} | |||||
} | |||||
return array( | |||||
'commentPHIDs' => $comment_phids, | |||||
); | |||||
} | } | ||||
} | } |