[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/files/controller/ -> PhabricatorFileUploadDialogController.php (source)

   1  <?php
   2  
   3  final class PhabricatorFileUploadDialogController
   4    extends PhabricatorFileController {
   5  
   6    public function processRequest() {
   7      $request = $this->getRequest();
   8      $user = $request->getUser();
   9  
  10      $dialog = id(new AphrontDialogView())
  11        ->setUser($user)
  12        ->setTitle(pht('Upload File'))
  13        ->appendChild(pht(
  14          'To add files, drag and drop them into the comment text area.'))
  15        ->addCancelButton('/', pht('Close'));
  16  
  17      return id(new AphrontDialogResponse())->setDialog($dialog);
  18    }
  19  
  20  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1