Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92657196
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, Nov 22, 11:28
Size
646 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 11:28 (1 d, 18 h)
Engine
blob
Format
Raw Data
Handle
22480179
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