Differential D14607 Diff 35339 src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editengine/PhabricatorEditEngineAPIMethod.php
| Show All 38 Lines | abstract class PhabricatorEditEngineAPIMethod | ||||
| final public function getMethodDescription() { | final public function getMethodDescription() { | ||||
| // TODO: We don't currently have a real viewer in this method. | // TODO: We don't currently have a real viewer in this method. | ||||
| $viewer = PhabricatorUser::getOmnipotentUser(); | $viewer = PhabricatorUser::getOmnipotentUser(); | ||||
| $engine = $this->newEditEngine() | $engine = $this->newEditEngine() | ||||
| ->setViewer($viewer); | ->setViewer($viewer); | ||||
| $types = $engine->getAllEditTypes(); | $types = $engine->getConduitEditTypes(); | ||||
| $out = array(); | $out = array(); | ||||
| $out[] = pht(<<<EOTEXT | $out[] = pht(<<<EOTEXT | ||||
| This is a standard **ApplicationEditor** method which allows you to create and | This is a standard **ApplicationEditor** method which allows you to create and | ||||
| modify objects by applying transactions. | modify objects by applying transactions. | ||||
| Each transaction applies one change to the object. For example, to create an | Each transaction applies one change to the object. For example, to create an | ||||
| ▲ Show 20 Lines • Show All 143 Lines • Show Last 20 Lines | |||||