Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F115086336
PhabricatorSlowvotePoll.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 29, 17:10
Size
676 B
Mime Type
text/x-php
Expires
Sat, May 31, 17:10 (2 d)
Engine
blob
Format
Raw Data
Handle
26447038
Attached To
rPH Phabricator
PhabricatorSlowvotePoll.php
View Options
<?php
/**
* @group slowvote
*/
final
class
PhabricatorSlowvotePoll
extends
PhabricatorSlowvoteDAO
{
const
RESPONSES_VISIBLE
=
0
;
const
RESPONSES_VOTERS
=
1
;
const
RESPONSES_OWNER
=
2
;
const
METHOD_PLURALITY
=
0
;
const
METHOD_APPROVAL
=
1
;
protected
$question
;
protected
$phid
;
protected
$authorPHID
;
protected
$responseVisibility
;
protected
$shuffle
;
protected
$method
;
public
function
getConfiguration
()
{
return
array
(
self
::
CONFIG_AUX_PHID
=>
true
,
)
+
parent
::
getConfiguration
();
}
public
function
generatePHID
()
{
return
PhabricatorPHID
::
generateNewPHID
(
PhabricatorPHIDConstants
::
PHID_TYPE_POLL
);
}
}
Event Timeline
Log In to Comment