Changeset View
Changeset View
Standalone View
Standalone View
src/applications/remarkup/conduit/RemarkupProcessConduitAPIMethod.php
<?php | <?php | ||||
final class RemarkupProcessConduitAPIMethod extends ConduitAPIMethod { | final class RemarkupProcessConduitAPIMethod extends ConduitAPIMethod { | ||||
public function getAPIMethodName() { | public function getAPIMethodName() { | ||||
return 'remarkup.process'; | return 'remarkup.process'; | ||||
} | } | ||||
public function getMethodStatus() { | public function getMethodStatus() { | ||||
return self::METHOD_STATUS_UNSTABLE; | return self::METHOD_STATUS_UNSTABLE; | ||||
} | } | ||||
public function getMethodDescription() { | public function getMethodDescription() { | ||||
return pht('Process text through remarkup in Phabricator context.'); | return pht('Process text through remarkup in %s context.', | ||||
PhabricatorPlatformSite::getName()); | |||||
} | } | ||||
protected function defineReturnType() { | protected function defineReturnType() { | ||||
return 'nonempty dict'; | return 'nonempty dict'; | ||||
} | } | ||||
protected function defineErrorTypes() { | protected function defineErrorTypes() { | ||||
return array( | return array( | ||||
▲ Show 20 Lines • Show All 54 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