Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/method/ConduitAPIMethod.php
| Show All 24 Lines | abstract class ConduitAPIMethod | ||||
| public function __construct() {} | public function __construct() {} | ||||
| public function getParamTypes() { | public function getParamTypes() { | ||||
| $types = $this->defineParamTypes(); | $types = $this->defineParamTypes(); | ||||
| $query = $this->newQueryObject(); | $query = $this->newQueryObject(); | ||||
| if ($query) { | if ($query) { | ||||
| $types['order'] = 'order'; | $types['order'] = 'optional order'; | ||||
| $types += $this->getPagerParamTypes(); | $types += $this->getPagerParamTypes(); | ||||
| } | } | ||||
| return $types; | return $types; | ||||
| } | } | ||||
| public function getReturnType() { | public function getReturnType() { | ||||
| return $this->defineReturnType(); | return $this->defineReturnType(); | ||||
| ▲ Show 20 Lines • Show All 342 Lines • Show Last 20 Lines | |||||