Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93206425
PhabricatorXHPASTViewFrameController.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
Wed, Nov 27, 00:41
Size
594 B
Mime Type
text/x-php
Expires
Fri, Nov 29, 00:41 (2 d)
Engine
blob
Format
Raw Data
Handle
22593637
Attached To
rPH Phabricator
PhabricatorXHPASTViewFrameController.php
View Options
<?php
final
class
PhabricatorXHPASTViewFrameController
extends
PhabricatorXHPASTViewController
{
private
$id
;
public
function
willProcessRequest
(
array
$data
)
{
$this
->
id
=
$data
[
'id'
];
}
public
function
processRequest
()
{
$id
=
$this
->
id
;
return
$this
->
buildStandardPageResponse
(
phutil_tag
(
'iframe'
,
array
(
'src'
=>
'/xhpast/frameset/'
.
$id
.
'/'
,
'frameborder'
=>
'0'
,
'style'
=>
'width: 100%; height: 800px;'
,
''
,
)),
array
(
'title'
=>
pht
(
'XHPAST View'
),
));
}
}
Event Timeline
Log In to Comment