Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96413530
PhabricatorXHProfController.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
Thu, Dec 26, 13:22
Size
702 B
Mime Type
text/x-php
Expires
Sat, Dec 28, 13:22 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23181228
Attached To
rPH Phabricator
PhabricatorXHProfController.php
View Options
<?php
abstract
class
PhabricatorXHProfController
extends
PhabricatorController
{
public
function
buildStandardPageResponse
(
$view
,
array
$data
)
{
$page
=
$this
->
buildStandardPageView
();
$page
->
setApplicationName
(
'XHProf'
);
$page
->
setBaseURI
(
'/xhprof/'
);
$page
->
setTitle
(
idx
(
$data
,
'title'
));
$page
->
setGlyph
(
"
\x
E2
\x
98
\x
84"
);
$page
->
appendChild
(
$view
);
$page
->
setDeviceReady
(
true
);
$response
=
new
AphrontWebpageResponse
();
if
(
isset
(
$data
[
'frame'
]))
{
$response
->
setFrameable
(
true
);
$page
->
setFrameable
(
true
);
$page
->
setShowChrome
(
false
);
$page
->
setDisableConsole
(
true
);
}
return
$response
->
setContent
(
$page
->
render
());
}
}
Event Timeline
Log In to Comment