Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F109617936
PhabricatorSlowvoteListController.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
Tue, Apr 22, 17:40
Size
642 B
Mime Type
text/x-php
Expires
Thu, Apr 24, 17:40 (2 d)
Engine
blob
Format
Raw Data
Handle
25653717
Attached To
rPH Phabricator
PhabricatorSlowvoteListController.php
View Options
<?php
final
class
PhabricatorSlowvoteListController
extends
PhabricatorSlowvoteController
{
public
function
shouldAllowPublic
()
{
return
true
;
}
public
function
handleRequest
(
AphrontRequest
$request
)
{
return
id
(
new
PhabricatorSlowvoteSearchEngine
())
->
setController
(
$this
)
->
buildResponse
();
}
protected
function
buildApplicationCrumbs
()
{
$crumbs
=
parent
::
buildApplicationCrumbs
();
$crumbs
->
addAction
(
id
(
new
PHUIListItemView
())
->
setName
(
pht
(
'Create Poll'
))
->
setHref
(
$this
->
getApplicationURI
(
'create/'
))
->
setIcon
(
'fa-plus-square'
));
return
$crumbs
;
}
}
Event Timeline
Log In to Comment