2013-05-31 01:37:51 +02:00
|
|
|
<?php
|
|
|
|
|
2014-07-10 00:12:48 +02:00
|
|
|
abstract class ConduitAPI_conpherence_Method extends ConduitAPIMethod {
|
2013-05-31 01:37:51 +02:00
|
|
|
|
|
|
|
public function getApplication() {
|
|
|
|
return PhabricatorApplication::getByClass(
|
2014-07-23 02:03:09 +02:00
|
|
|
'PhabricatorConpherenceApplication');
|
2013-05-31 01:37:51 +02:00
|
|
|
}
|
|
|
|
|
2013-05-31 19:43:46 +02:00
|
|
|
final protected function getConpherenceURI(ConpherenceThread $conpherence) {
|
|
|
|
$id = $conpherence->getID();
|
|
|
|
return PhabricatorEnv::getProductionURI(
|
|
|
|
$this->getApplication()->getApplicationURI($id));
|
|
|
|
}
|
|
|
|
|
2013-05-31 01:37:51 +02:00
|
|
|
}
|