Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F116673184
AphrontController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jun 8, 12:23
Size
957 B
Mime Type
text/x-php
Expires
Tue, Jun 10, 12:23 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26498467
Attached To
rPH Phabricator
AphrontController.php
View Options
<?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
;
}
}
Event Timeline
Log In to Comment