Page MenuHomePhorge

AphrontController.php
No OneTemporary

AphrontController.php

<?php
/**
* @group aphront
*/
abstract class AphrontController extends Phobject {
private $request;
private $currentApplication;
public function willBeginExecution() {
return;
}
public function willProcessRequest(array $uri_data) {
return;
}
public function didProcessRequest($response) {
return $response;
}
abstract public function processRequest();
final public function __construct(AphrontRequest $request) {
$this->request = $request;
}
final public function getRequest() {
return $this->request;
}
final public function delegateToController(AphrontController $controller) {
return $controller->processRequest();
}
final public function setCurrentApplication(
PhabricatorApplication $current_application) {
$this->currentApplication = $current_application;
return $this;
}
final public function getCurrentApplication() {
return $this->currentApplication;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Jan 19, 19:01 (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127647
Default Alt Text
AphrontController.php (957 B)

Event Timeline