Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122621365
PhabricatorConduitController.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 21, 01:58
Size
657 B
Mime Type
text/x-php
Expires
Wed, Jul 23, 01:58 (2 d)
Engine
blob
Format
Raw Data
Handle
27509704
Attached To
rPH Phabricator
PhabricatorConduitController.php
View Options
<?php
/**
* @group conduit
*/
abstract
class
PhabricatorConduitController
extends
PhabricatorController
{
protected
function
buildSideNavView
()
{
$viewer
=
$this
->
getRequest
()->
getUser
();
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
id
(
new
PhabricatorConduitSearchEngine
())
->
setViewer
(
$viewer
)
->
addNavigationItems
(
$nav
->
getMenu
());
$nav
->
addLabel
(
'Logs'
);
$nav
->
addFilter
(
'log'
,
pht
(
'Call Logs'
));
$nav
->
selectFilter
(
null
);
return
$nav
;
}
protected
function
buildApplicationMenu
()
{
return
$this
->
buildSideNavView
()->
getMenu
();
}
}
Event Timeline
Log In to Comment