Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/storage/PonderQuestion.php
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | public function attachProjectPHIDs(array $phids) { | ||||
$this->projectPHIDs = $phids; | $this->projectPHIDs = $phids; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getMarkupField() { | public function getMarkupField() { | ||||
return self::MARKUP_FIELD_CONTENT; | return self::MARKUP_FIELD_CONTENT; | ||||
} | } | ||||
/** | |||||
* Check whenever this Question has whatever closed status | |||||
* | |||||
* @return bool | |||||
*/ | |||||
public function isStatusClosed() { | |||||
return PonderQuestionStatus::isQuestionStatusClosed($this->status); | |||||
} | |||||
/* -( PhabricatorApplicationTransactionInterface )------------------------- */ | /* -( PhabricatorApplicationTransactionInterface )------------------------- */ | ||||
public function getApplicationTransactionEditor() { | public function getApplicationTransactionEditor() { | ||||
return new PonderQuestionEditor(); | return new PonderQuestionEditor(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0