revision = $revision; return $this; } public function setActions(array $actions) { $this->actions = $actions; return $this; } public function setActionURI($uri) { $this->actionURI = $uri; } public function render() { $actions = array(); foreach ($this->actions as $action) { $actions[$action] = DifferentialAction::getActionVerb($action); } $form = new AphrontFormView(); $form ->setAction($this->actionURI) ->appendChild( id(new AphrontFormSelectControl()) ->setLabel('Action') ->setOptions($actions)) ->appendChild( id(new AphrontFormTextAreaControl()) ->setLabel('Comment')) ->appendChild( id(new AphrontFormSubmitControl()) ->setValue('Comment')); return '