Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97993326
NuanceQueueListController.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
Wed, Jan 8, 09:31
Size
705 B
Mime Type
text/x-php
Expires
Fri, Jan 10, 09:31 (2 d)
Engine
blob
Format
Raw Data
Handle
23474655
Attached To
rPH Phabricator
NuanceQueueListController.php
View Options
<?php
final
class
NuanceQueueListController
extends
NuanceQueueController
{
public
function
handleRequest
(
AphrontRequest
$request
)
{
return
id
(
new
NuanceQueueSearchEngine
())
->
setController
(
$this
)
->
buildResponse
();
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
// TODO: Maybe use SourceManage capability?
$can_create
=
true
;
$crumbs
->
addAction
(
id
(
new
PHUIListItemView
())
->
setName
(
pht
(
'Create Queue'
))
->
setHref
(
$this
->
getApplicationURI
(
'queue/new/'
))
->
setIcon
(
'fa-plus-square'
)
->
setDisabled
(!
$can_create
)
->
setWorkflow
(!
$can_create
));
return
$crumbs
;
}
}
Event Timeline
Log In to Comment