Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F116742720
PhabricatorCalendarController.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, Jun 8, 22:14
Size
623 B
Mime Type
text/x-php
Expires
Tue, Jun 10, 22:14 (2 d)
Engine
blob
Format
Raw Data
Handle
26655261
Attached To
rPH Phabricator
PhabricatorCalendarController.php
View Options
<?php
abstract
class
PhabricatorCalendarController
extends
PhabricatorController
{
protected
function
buildSideNavView
(
PhabricatorCalendarEvent
$status
=
null
)
{
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
$nav
->
addLabel
(
pht
(
'Calendar'
));
$nav
->
addFilter
(
'/'
,
pht
(
'View All'
));
$nav
->
addFilter
(
'status/create/'
,
pht
(
'New Status'
));
if
(
$status
&&
$status
->
getID
())
{
$nav
->
addFilter
(
'status/edit/'
.
$status
->
getID
().
'/'
,
pht
(
'Edit Status'
));
}
$nav
->
addFilter
(
'status/'
,
pht
(
'Upcoming Statuses'
));
return
$nav
;
}
}
Event Timeline
Log In to Comment