Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98268500
PhabricatorApplicationTransactionDetailController.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
Sat, Jan 11, 15:22
Size
852 B
Mime Type
text/x-php
Expires
Mon, Jan 13, 15:22 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23541708
Attached To
rPH Phabricator
PhabricatorApplicationTransactionDetailController.php
View Options
<?php
final
class
PhabricatorApplicationTransactionDetailController
extends
PhabricatorApplicationTransactionController
{
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
$viewer
=
$this
->
getViewer
();
$phid
=
$request
->
getURIData
(
'phid'
);
$xaction
=
id
(
new
PhabricatorObjectQuery
())
->
withPHIDs
(
array
(
$phid
))
->
setViewer
(
$viewer
)
->
executeOne
();
if
(!
$xaction
)
{
return
new
Aphront404Response
();
}
$details
=
$xaction
->
renderChangeDetails
(
$viewer
);
$cancel_uri
=
$this
->
guessCancelURI
(
$viewer
,
$xaction
);
return
$this
->
newDialog
()
->
setTitle
(
pht
(
'Change Details'
))
->
setWidth
(
AphrontDialogView
::
WIDTH_FULL
)
->
setFlush
(
true
)
->
appendChild
(
$details
)
->
addCancelButton
(
$cancel_uri
);
}
}
Event Timeline
Log In to Comment