Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92692196
PhabricatorTokenController.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
Fri, Nov 22, 20:05
Size
609 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 20:05 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22488196
Attached To
rPH Phabricator
PhabricatorTokenController.php
View Options
<?php
abstract
class
PhabricatorTokenController
extends
PhabricatorController
{
protected
function
buildSideNav
()
{
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
$nav
->
addLabel
(
pht
(
'Tokens'
));
$nav
->
addFilter
(
'given/'
,
pht
(
'Tokens Given'
));
$nav
->
addFilter
(
'leaders/'
,
pht
(
'Leader Board'
));
return
$nav
;
}
public
function
buildApplicationMenu
()
{
return
$this
->
buildSideNav
()->
getMenu
();
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
return
$crumbs
;
}
}
Event Timeline
Log In to Comment