1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 19:02:41 +01:00
phorge-phorge/src/aphront/response/AphrontDialogResponse.php
epriestley 7cf7f36452 Restyle username/password login for reduced hideousness
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
2013-06-16 16:31:14 -07:00

23 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();
}
}