Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/method/ConduitAPIMethod.php
Show All 31 Lines | abstract class ConduitAPIMethod | ||||
* | * | ||||
* This method should return remarkup. | * This method should return remarkup. | ||||
* | * | ||||
* @return string Detailed description of the method. | * @return string Detailed description of the method. | ||||
* @task info | * @task info | ||||
*/ | */ | ||||
abstract public function getMethodDescription(); | abstract public function getMethodDescription(); | ||||
public function getMethodDocumentation() { | |||||
return null; | |||||
} | |||||
abstract protected function defineParamTypes(); | abstract protected function defineParamTypes(); | ||||
abstract protected function defineReturnType(); | abstract protected function defineReturnType(); | ||||
protected function defineErrorTypes() { | protected function defineErrorTypes() { | ||||
return array(); | return array(); | ||||
} | } | ||||
abstract protected function execute(ConduitAPIRequest $request); | abstract protected function execute(ConduitAPIRequest $request); | ||||
▲ Show 20 Lines • Show All 345 Lines • Show Last 20 Lines |