2011-02-12 03:06:43 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2013-02-27 16:18:30 +01:00
|
|
|
* @group differential
|
2011-02-12 03:06:43 +01:00
|
|
|
*/
|
2013-02-26 23:57:41 +01:00
|
|
|
final class DifferentialRemarkupRule
|
2013-02-27 16:18:30 +01:00
|
|
|
extends PhabricatorRemarkupRuleObject {
|
2011-02-12 03:06:43 +01:00
|
|
|
|
2011-05-31 19:23:31 +02:00
|
|
|
protected function getObjectNamePrefix() {
|
|
|
|
return 'D';
|
2011-02-12 03:06:43 +01:00
|
|
|
}
|
|
|
|
|
2013-02-27 16:18:30 +01:00
|
|
|
protected function loadObjects(array $ids) {
|
|
|
|
$viewer = $this->getEngine()->getConfig('viewer');
|
|
|
|
return id(new DifferentialRevisionQuery())
|
|
|
|
->setViewer($viewer)
|
|
|
|
->withIDs($ids)
|
|
|
|
->execute();
|
|
|
|
}
|
|
|
|
|
2011-02-12 03:06:43 +01:00
|
|
|
}
|