Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/editor/ConpherenceEditor.php
Show First 20 Lines • Show All 595 Lines • ▼ Show 20 Lines | protected function shouldPublishFeedStory( | ||||
array $xactions) { | array $xactions) { | ||||
return false; | return false; | ||||
} | } | ||||
protected function supportsSearch() { | protected function supportsSearch() { | ||||
return true; | 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, | |||||
); | |||||
} | |||||
protected function extractFilePHIDsFromCustomTransaction( | protected function extractFilePHIDsFromCustomTransaction( | ||||
PhabricatorLiskDAO $object, | PhabricatorLiskDAO $object, | ||||
PhabricatorApplicationTransaction $xaction) { | PhabricatorApplicationTransaction $xaction) { | ||||
switch ($xaction->getTransactionType()) { | switch ($xaction->getTransactionType()) { | ||||
case ConpherenceTransaction::TYPE_PICTURE: | case ConpherenceTransaction::TYPE_PICTURE: | ||||
case ConpherenceTransaction::TYPE_PICTURE_CROP: | case ConpherenceTransaction::TYPE_PICTURE_CROP: | ||||
return array($xaction->getNewValue()); | return array($xaction->getNewValue()); | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |