Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121803078
PhabricatorSearchBaseController.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
Mon, Jul 14, 00:38
Size
510 B
Mime Type
text/x-php
Expires
Wed, Jul 16, 00:38 (2 d)
Engine
blob
Format
Raw Data
Handle
27320280
Attached To
rPH Phabricator
PhabricatorSearchBaseController.php
View Options
<?php
/**
* @group search
*/
abstract
class
PhabricatorSearchBaseController
extends
PhabricatorController
{
public
function
buildStandardPageResponse
(
$view
,
array
$data
)
{
$page
=
$this
->
buildStandardPageView
();
$page
->
setApplicationName
(
'Search'
);
$page
->
setBaseURI
(
'/search/'
);
$page
->
setTitle
(
idx
(
$data
,
'title'
));
$page
->
setGlyph
(
"
\x
C2
\x
BF"
);
$page
->
appendChild
(
$view
);
$response
=
new
AphrontWebpageResponse
();
return
$response
->
setContent
(
$page
->
render
());
}
}
Event Timeline
Log In to Comment