mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 22:40:55 +01:00
19 lines
372 B
PHP
19 lines
372 B
PHP
|
<?php
|
||
|
|
||
|
final class FundInitiativeRemarkupRule extends PhabricatorObjectRemarkupRule {
|
||
|
|
||
|
protected function getObjectNamePrefix() {
|
||
|
return 'I';
|
||
|
}
|
||
|
|
||
|
protected function loadObjects(array $ids) {
|
||
|
$viewer = $this->getEngine()->getConfig('viewer');
|
||
|
|
||
|
return id(new FundInitiativeQuery())
|
||
|
->setViewer($viewer)
|
||
|
->withIDs($ids)
|
||
|
->execute();
|
||
|
}
|
||
|
|
||
|
}
|