Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99504729
PhrequentController.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, 01:46
Size
577 B
Mime Type
text/x-php
Expires
Mon, Jan 27, 01:46 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23807582
Attached To
rPH Phabricator
PhrequentController.php
View Options
<?php
abstract
class
PhrequentController
extends
PhabricatorController
{
protected
function
buildNav
(
$view
)
{
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
'/phrequent/view/'
));
$nav
->
addLabel
(
pht
(
'User Times'
));
$nav
->
addFilter
(
'current'
,
pht
(
'Currently Tracking'
));
$nav
->
addFilter
(
'recent'
,
pht
(
'Recent Activity'
));
$nav
->
addLabel
(
'All Times'
);
$nav
->
addFilter
(
'allcurrent'
,
pht
(
'Currently Tracking'
));
$nav
->
addFilter
(
'allrecent'
,
pht
(
'Recent Activity'
));
$nav
->
selectFilter
(
$view
);
return
$nav
;
}
}
Event Timeline
Log In to Comment