Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editengine/PhabricatorEditEngine.php
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | public function getDefaultQuickCreateFormKeys() { | ||||
foreach ($keys as $idx => $key) { | foreach ($keys as $idx => $key) { | ||||
$keys[$idx] = $this->getEngineKey().'/'.$key; | $keys[$idx] = $this->getEngineKey().'/'.$key; | ||||
} | } | ||||
return $keys; | return $keys; | ||||
} | } | ||||
public static function splitFullKey($full_key) { | |||||
return explode('/', $full_key, 2); | |||||
} | |||||
public function getQuickCreateOrderVector() { | public function getQuickCreateOrderVector() { | ||||
return id(new PhutilSortVector()) | return id(new PhutilSortVector()) | ||||
->addString($this->getObjectCreateShortText()); | ->addString($this->getObjectCreateShortText()); | ||||
} | } | ||||
/** | /** | ||||
* Force the engine to edit a particular object. | * Force the engine to edit a particular object. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 2,194 Lines • Show Last 20 Lines |