mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 02:02:41 +01:00
20 lines
426 B
PHP
20 lines
426 B
PHP
|
<?php
|
||
|
|
||
|
final class ConpherenceThreadRemarkupRule
|
||
|
extends PhabricatorObjectRemarkupRule {
|
||
|
|
||
|
protected function getObjectNamePrefix() {
|
||
|
return 'Z';
|
||
|
}
|
||
|
|
||
|
protected function loadObjects(array $ids) {
|
||
|
$viewer = $this->getEngine()->getConfig('viewer');
|
||
|
$threads = id(new ConpherenceThreadQuery())
|
||
|
->setViewer($viewer)
|
||
|
->withIDs($ids)
|
||
|
->execute();
|
||
|
return mpull($threads, null, 'getID');
|
||
|
}
|
||
|
|
||
|
}
|