Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/phid/PonderAnswerPHIDType.php
<?php | <?php | ||||
final class PonderAnswerPHIDType extends PhabricatorPHIDType { | final class PonderAnswerPHIDType extends PhabricatorPHIDType { | ||||
const TYPECONST = 'ANSW'; | const TYPECONST = 'ANSW'; | ||||
public function getTypeName() { | public function getTypeName() { | ||||
return pht('Ponder Answer'); | return pht('Ponder Answer'); | ||||
} | } | ||||
public function getPHIDTypeApplicationClass() { | |||||
return 'PhabricatorPonderApplication'; | |||||
} | |||||
public function newObject() { | public function newObject() { | ||||
return new PonderAnswer(); | return new PonderAnswer(); | ||||
} | } | ||||
protected function buildQueryForObjects( | protected function buildQueryForObjects( | ||||
PhabricatorObjectQuery $query, | PhabricatorObjectQuery $query, | ||||
array $phids) { | array $phids) { | ||||
Show All 22 Lines |