Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99607441
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
Sat, Jan 25, 18:03
Size
657 B
Mime Type
text/x-php
Expires
Mon, Jan 27, 18:03 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23831969
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