Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/edittype/PhabricatorEditType.php
| Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | /* -( Conduit )------------------------------------------------------------ */ | ||||
| } | } | ||||
| public function getConduitParameterType() { | public function getConduitParameterType() { | ||||
| return $this->newConduitParameterType(); | return $this->newConduitParameterType(); | ||||
| } | } | ||||
| public function getConduitType() { | public function getConduitType() { | ||||
| $parameter_type = $this->getConduitParameterType(); | $parameter_type = $this->getConduitParameterType(); | ||||
| if (!$parameter_type) { | |||||
| throw new Exception( | |||||
| pht( | |||||
| 'Edit type (with key "%s") is missing a Conduit parameter type.', | |||||
| $this->getEditType())); | |||||
| } | |||||
| return $parameter_type->getTypeName(); | return $parameter_type->getTypeName(); | ||||
| } | } | ||||
| public function setConduitTypeDescription($conduit_type_description) { | public function setConduitTypeDescription($conduit_type_description) { | ||||
| $this->conduitTypeDescription = $conduit_type_description; | $this->conduitTypeDescription = $conduit_type_description; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines | |||||