Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100724756
DivinerController.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
Sun, Feb 2, 05:34
Size
513 B
Mime Type
text/x-php
Expires
Tue, Feb 4, 05:34 (2 d)
Engine
blob
Format
Raw Data
Handle
24021428
Attached To
rPH Phabricator
DivinerController.php
View Options
<?php
abstract
class
DivinerController
extends
PhabricatorController
{
protected
function
buildSideNavView
()
{
$menu
=
$this
->
buildMenu
();
return
AphrontSideNavFilterView
::
newFromMenu
(
$menu
);
}
protected
function
buildApplicationMenu
()
{
return
$this
->
buildMenu
();
}
private
function
buildMenu
()
{
$menu
=
new
PhabricatorMenuView
();
id
(
new
DivinerAtomSearchEngine
())
->
setViewer
(
$this
->
getRequest
()->
getUser
())
->
addNavigationItems
(
$menu
);
return
$menu
;
}
}
Event Timeline
Log In to Comment