Differential D9859 Diff 23678 src/applications/conpherence/conduit/ConduitAPI_conpherence_Method.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/conduit/ConduitAPI_conpherence_Method.php
| <?php | <?php | ||||
| /** | abstract class ConduitAPI_conpherence_Method extends ConduitAPIMethod { | ||||
| * @group conduit | |||||
| */ | |||||
| abstract class ConduitAPI_conpherence_Method | |||||
| extends ConduitAPIMethod { | |||||
| public function getApplication() { | public function getApplication() { | ||||
| return PhabricatorApplication::getByClass( | return PhabricatorApplication::getByClass( | ||||
| 'PhabricatorApplicationConpherence'); | 'PhabricatorApplicationConpherence'); | ||||
| } | } | ||||
| final protected function getConpherenceURI(ConpherenceThread $conpherence) { | final protected function getConpherenceURI(ConpherenceThread $conpherence) { | ||||
| $id = $conpherence->getID(); | $id = $conpherence->getID(); | ||||
| return PhabricatorEnv::getProductionURI( | return PhabricatorEnv::getProductionURI( | ||||
| $this->getApplication()->getApplicationURI($id)); | $this->getApplication()->getApplicationURI($id)); | ||||
| } | } | ||||
| } | } | ||||