Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/editengine/PhabricatorEditEngine.php
Show First 20 Lines • Show All 1,543 Lines • ▼ Show 20 Lines | foreach ($fields as $field) { | ||||
$comment_actions[$key] = $comment_action; | $comment_actions[$key] = $comment_action; | ||||
} | } | ||||
$comment_actions = msortv($comment_actions, 'getSortVector'); | $comment_actions = msortv($comment_actions, 'getSortVector'); | ||||
$view->setCommentActions($comment_actions); | $view->setCommentActions($comment_actions); | ||||
$comment_groups = $this->newCommentActionGroups(); | |||||
$view->setCommentActionGroups($comment_groups); | |||||
return $view; | return $view; | ||||
} | } | ||||
protected function loadDraftVersion($object) { | protected function loadDraftVersion($object) { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
if (!$viewer->isLoggedIn()) { | if (!$viewer->isLoggedIn()) { | ||||
return null; | return null; | ||||
▲ Show 20 Lines • Show All 592 Lines • ▼ Show 20 Lines | /* -( Conduit )------------------------------------------------------------ */ | ||||
} | } | ||||
public function getEditAction() { | public function getEditAction() { | ||||
$controller = $this->getController(); | $controller = $this->getController(); | ||||
$request = $controller->getRequest(); | $request = $controller->getRequest(); | ||||
return $request->getURIData('editAction'); | return $request->getURIData('editAction'); | ||||
} | } | ||||
protected function newCommentActionGroups() { | |||||
return array(); | |||||
} | |||||
/* -( Form Pages )--------------------------------------------------------- */ | /* -( Form Pages )--------------------------------------------------------- */ | ||||
public function getSelectedPage() { | public function getSelectedPage() { | ||||
return $this->page; | return $this->page; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |