2011-02-12 03:06:43 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2013-02-27 16:18:30 +01:00
|
|
|
* @group maniphest
|
2011-02-12 03:06:43 +01:00
|
|
|
*/
|
2013-02-26 23:57:41 +01:00
|
|
|
final class ManiphestRemarkupRule
|
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 'T';
|
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 ManiphestTaskQuery())
|
|
|
|
->setViewer($viewer)
|
|
|
|
->withTaskIDs($ids)
|
|
|
|
->execute();
|
|
|
|
}
|
|
|
|
|
2011-02-12 03:06:43 +01:00
|
|
|
}
|