Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101313382
PhabricatorXHPASTViewFramesetController.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
Fri, Feb 7, 16:59
Size
646 B
Mime Type
text/x-php
Expires
Sun, Feb 9, 16:59 (2 d)
Engine
blob
Format
Raw Data
Handle
24132509
Attached To
rPH Phabricator
PhabricatorXHPASTViewFramesetController.php
View Options
<?php
final
class
PhabricatorXHPASTViewFramesetController
extends
PhabricatorXHPASTViewController
{
private
$id
;
public
function
willProcessRequest
(
array
$data
)
{
$this
->
id
=
$data
[
'id'
];
}
public
function
processRequest
()
{
$id
=
$this
->
id
;
$response
=
new
AphrontWebpageResponse
();
$response
->
setFrameable
(
true
);
$response
->
setContent
(
hsprintf
(
'<frameset cols="33%%, 34%%, 33%%">'
.
'<frame src="/xhpast/input/%s/" />'
.
'<frame src="/xhpast/tree/%s/" />'
.
'<frame src="/xhpast/stream/%s/" />'
.
'</frameset>'
,
$id
,
$id
,
$id
));
return
$response
;
}
}
Event Timeline
Log In to Comment