Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F457050
HarbormasterController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
577 B
Referenced Files
None
Subscribers
None
HarbormasterController.php
View Options
<?php
abstract
class
HarbormasterController
extends
PhabricatorController
{
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$can_create
=
$this
->
hasApplicationCapability
(
HarbormasterManagePlansCapability
::
CAPABILITY
);
$crumbs
->
addAction
(
id
(
new
PHUIListItemView
())
->
setName
(
pht
(
'New Build Plan'
))
->
setHref
(
$this
->
getApplicationURI
(
'plan/edit/'
))
->
setDisabled
(!
$can_create
)
->
setWorkflow
(!
$can_create
)
->
setIcon
(
'fa-plus-square'
));
return
$crumbs
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 5, 9:05 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
70669
Default Alt Text
HarbormasterController.php (577 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment