Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F113172448
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
Thu, May 15, 19:22
Size
693 B
Mime Type
text/x-php
Expires
Sat, May 17, 19:22 (2 d)
Engine
blob
Format
Raw Data
Handle
26163327
Attached To
rPH Phabricator
PhabricatorCalendarController.php
View Options
<?php
abstract
class
PhabricatorCalendarController
extends
PhabricatorController
{
protected
function
buildSideNavView
(
PhabricatorUserStatus
$status
=
null
)
{
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
$nav
->
addFilter
(
''
,
pht
(
'Calendar'
),
$this
->
getApplicationURI
());
$nav
->
addLabel
(
pht
(
'Create Events'
));
$nav
->
addFilter
(
'status/create/'
,
pht
(
'New Status'
));
$nav
->
addLabel
(
pht
(
'Your Events'
));
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