Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F443607
PhabricatorApplicationTransactionDetailController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
979 B
Referenced Files
None
Subscribers
None
PhabricatorApplicationTransactionDetailController.php
View Options
<?php
final
class
PhabricatorApplicationTransactionDetailController
extends
PhabricatorApplicationTransactionController
{
private
$phid
;
public
function
willProcessRequest
(
array
$data
)
{
$this
->
phid
=
$data
[
'phid'
];
}
public
function
processRequest
()
{
$request
=
$this
->
getRequest
();
$viewer
=
$request
->
getUser
();
$xaction
=
id
(
new
PhabricatorObjectQuery
())
->
withPHIDs
(
array
(
$this
->
phid
))
->
setViewer
(
$viewer
)
->
executeOne
();
if
(!
$xaction
)
{
return
new
Aphront404Response
();
}
$details
=
$xaction
->
renderChangeDetails
(
$viewer
);
$cancel_uri
=
$this
->
guessCancelURI
(
$viewer
,
$xaction
);
$dialog
=
id
(
new
AphrontDialogView
())
->
setUser
(
$viewer
)
->
setTitle
(
pht
(
'Change Details'
))
->
setWidth
(
AphrontDialogView
::
WIDTH_FULL
)
->
setFlush
(
true
)
->
appendChild
(
$details
)
->
addCancelButton
(
$cancel_uri
);
return
id
(
new
AphrontDialogResponse
())->
setDialog
(
$dialog
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 10:51 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
64822
Default Alt Text
PhabricatorApplicationTransactionDetailController.php (979 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment