7cf7f36452
Summary: Ref T1536. Error state is a bit gross but we need to sort that out in general.
Test Plan:
{F46549}
{F46550}
Reviewers: chad, btrahan
Reviewed By: chad
CC: aran
Maniphest Tasks: T1536
Differential Revision: https://secure.phabricator.com/D6208
24 lines
371 B
PHP
24 lines
371 B
PHP
<?php
|
|
|
|
/**
|
|
* @group aphront
|
|
*/
|
|
final class AphrontDialogResponse extends AphrontResponse {
|
|
|
|
private $dialog;
|
|
|
|
public function setDialog(AphrontDialogView $dialog) {
|
|
$this->dialog = $dialog;
|
|
return $this;
|
|
}
|
|
|
|
public function getDialog() {
|
|
return $this->dialog;
|
|
}
|
|
|
|
public function buildResponseString() {
|
|
return $this->dialog->render();
|
|
}
|
|
|
|
}
|