[Scry] element index

Package indexes

All elements
a b c d e f g h i l s v _
_
top
Variable $_db
Database object.
Variable $_params
Scry_Driver::$_params in Driver.php
Variable $_useFormToken
Method _buildPollsQuery
Creates a SQL query for selecting or counting polls.
Method _logVote
Method _savePoll
Function _scry_commentCallback
Scry/Agora Comments callback function
Function _scry_getVotablePolls
Get a list of votable (enabled, active) polls to vote on.
Function _scry_hasComments
Function _scry_perms
_scry_perms() in api.php
a
top
Page api.php
api.php in api.php
b
top
Page base.php
base.php in base.php
c
top
Method canPoll
Scry::canPoll() in Scry.php
Determine whether the user is allowed to create polls
Method concludePoll
Conclude voting on a poll.
Method countPolls
Return the number of polls
d
top
Method deletePoll
Deletes a poll and all of its vote log from the database.
Page Driver.php
Driver.php in Driver.php
e
top
Method enablePoll
Toggles the enabled state of a poll.
Method ExportForm
Class ExportForm
ExportForm in Export.php
Export Classes
Page Export.php
Export.php in Export.php
f
top
Method factory
Attempts to return a concrete Scry_Driver instance based on $driver.
g
top
Method getDate
Scry::getDate() in Scry.php
Return the date in the configured format.
Method getExtendedResults
Display the results of the poll including specifying who voted for each response.
Method getIdentifierArray
Turn an identifier bitmask into an array of identifiers.
Method getIdentifiers
Returns the $conf allowed set of identifiers.
Method getMenu
Scry::getMenu() in Scry.php
Method getPollActions
Get a set of action links (Vote, Edit, Conclude, etc) for the given poll
Method getPolls
Fetches the poll data. If a poll id is passed will fetch only one poll, otherwise if the filter is set will fetch a subset of polls. If none of these are set then the whole list of polls will be returned.
Method getResults
Scry::getResults() in Scry.php
Work out the current status of the poll and return HTML formatting the results for display.
Method getStatusLabel
Work out the current status of the poll and return a text label and a relative class name for the colouring.
Method getVotes
Method getVotesLog
Fetches the full poll voting log for use when exporting the log to a file. The array keys will be set according to locale settings.
Method getWhoChoseWhat
h
top
Method hasPermission
Check the current user for edit permissions on a given poll.
Method hasVoted
Checks to see if a user has already voted this poll.
Constant HORDE_BASE
HORDE_BASE in base.php
i
top
Method initialise
Method isEditable
Returns the editable status of the current poll.
Method isOpen
Scry_Driver::isOpen() in Driver.php
Check if the poll is within the time limits.
Method isVotable
l
top
Method logVote
s
top
Page sql.php
sql.php in sql.php
Page Scry.php
Scry.php in Scry.php
Method savePoll
Class Scry
Scry in Scry.php
The Scry:: class provides the Horde Polls system.
Constant SCRY_BASE
SCRY_BASE in base.php
Class Scry_Driver
Scry_Driver in Driver.php
Scry_Driver Class
Method Scry_Driver
Method Scry_Driver_sql
Class Scry_Driver_sql
Scry_Driver_sql in sql.php
Scry_Driver_sql Class
Constant SCRY_ID_AUTH
SCRY_ID_AUTH in Scry.php
Use Horde auth to identify.
Constant SCRY_ID_CONFIRM
SCRY_ID_CONFIRM in Scry.php
Use an email confirmation to identify.
Constant SCRY_ID_COOKIE
SCRY_ID_COOKIE in Scry.php
Use cookies to identify.
Constant SCRY_ID_CUSTOM
SCRY_ID_CUSTOM in Scry.php
Use a custom string to identify.
Constant SCRY_ID_IP
SCRY_ID_IP in Scry.php
Use IP address to identify.
Constant SCRY_TEMPLATES
SCRY_TEMPLATES in base.php
Method singleton
Attempts to return a reference to a concrete Scry_Driver instance based on $driver.
v
top
Page Vote.php
Vote.php in Vote.php
Method VoteForm
Class VoteForm
VoteForm in Vote.php
Voting Classes
a b c d e f g h i l s v _