Stud.IP
2.0 Revision 48548
|
Namespaces | |
namespace | vote |
Variables | |
const | YES = 1 |
const | NO = 0 |
const | INSTANCEOF_VOTE = "vote" |
const | INSTANCEOF_TEST = "test" |
const | INSTANCEOF_AUTHOR_OBJECT = "AuthorObject" |
const | INSTANCEOF_VOTEDB = "VoteDB" |
const | VOTE_FILE_ADMIN = "admin_vote.php" |
const | VOTE_FILE_SHOW = "lib/vote/vote_show.inc.php" |
const | VOTE_ICON_BIG = Assets::image_path('icons/16/white/vote.png') |
const | VOTE_ICON_VOTE = Assets::image_path('icons/16/grey/vote.png') |
const | VOTE_ICON_TEST = Assets::image_path('icons/16/grey/test.png') |
const | VOTE_ICON_STOPPED = Assets::image_path('icons/16/grey/vote-stopped.png') |
const | VOTE_ICON_ARROW = Assets::image_path('icons/16/white/admin.png') |
const | VOTE_ICON_SUCCESS = Assets::image_path("icons/16/green/accept.png") |
const | VOTE_ICON_ERROR = Assets::image_path("icons/16/red/decline.png") |
const | VOTE_ICON_INFO = Assets::image_path("icons/16/grey/exclaim.png") |
const | VOTE_ICON_LIST = Assets::image_path("icons/16/grey/file-generic.png") |
const | VOTE_BAR_LEFT = Assets::image_path("bar_l.gif") |
const | VOTE_BAR_MIDDLE = "vote_bar_" |
const | VOTE_BAR_RIGHT = Assets::image_path("bar_r.gif") |
const | VOTE_ANSWER_CORRECT = Assets::image_path("icons/16/green/accept.png") |
const | VOTE_ANSWER_WRONG = Assets::image_path("icons/16/red/decline.png") |
const | VOTE_COLOR_SUCCESS = "#008000" |
const | VOTE_COLOR_ERROR = "#E00000" |
const | VOTE_COLOR_INFO = "#333333" |
const | VOTE_ANSWER_MAXLEN = 10 |
const | VOTE_STATE_ACTIVE = "active" |
const | VOTE_STATE_NEW = "new" |
const | VOTE_STATE_STOPPED = "stopped" |
const | VOTE_STATE_STOPVIS = "stopvis" |
const | VOTE_STATE_STOPINVIS = "stopinvis" |
const | VOTE_RESULTS_AFTER_VOTE = "delivery" |
const | VOTE_RESULTS_AFTER_END = "end" |
const | VOTE_RESULTS_ALWAYS = "ever" |
const | VOTE_RESULTS_NEVER = "never" |
const | VOTE_NEW = "new" |
const | VOTE_ACTIVE = "active" |
const | VOTE_STOPPED_VISIBLE = "stopvis" |
const | VOTE_STOPPED_INVISIBLE = "stopinvis" |
const | VOTE_IMAGETYPE_PIE = 0 |
const | VOTE_IMAGETYPE_BAR = 1 |
const | VOTE_IMAGETYPE_LINE = 2 |
const | VOTE_SHOW_MAXTITLELENGTH = 80 |
$vote_HTTP_REFERER_2 = $vote_HTTP_REFERER_1 | |
$vote_HTTP_REFERER_1 = (($_SERVER['SERVER_PORT'] == 443 || $_SERVER['HTTPS'] == 'on')? 'https://':'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] |
$vote_HTTP_REFERER_1 = (($_SERVER['SERVER_PORT'] == 443 || $_SERVER['HTTPS'] == 'on')? 'https://':'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] |
$vote_HTTP_REFERER_2 = $vote_HTTP_REFERER_1 |
const INSTANCEOF_AUTHOR_OBJECT = "AuthorObject" |
const INSTANCEOF_TEST = "test" |
const INSTANCEOF_VOTE = "vote" |
const INSTANCEOF_VOTEDB = "VoteDB" |
const NO = 0 |
const VOTE_ACTIVE = "active" |
Votestate -> an active vote. public VOTE_ACTIVE
const VOTE_ANSWER_CORRECT = Assets::image_path("icons/16/green/accept.png") |
const VOTE_ANSWER_MAXLEN = 10 |
const VOTE_ANSWER_WRONG = Assets::image_path("icons/16/red/decline.png") |
const VOTE_BAR_LEFT = Assets::image_path("bar_l.gif") |
const VOTE_BAR_MIDDLE = "vote_bar_" |
const VOTE_BAR_RIGHT = Assets::image_path("bar_r.gif") |
const VOTE_COLOR_ERROR = "#E00000" |
const VOTE_COLOR_INFO = "#333333" |
const VOTE_COLOR_SUCCESS = "#008000" |
const VOTE_FILE_ADMIN = "admin_vote.php" |
const VOTE_FILE_SHOW = "lib/vote/vote_show.inc.php" |
const VOTE_ICON_ARROW = Assets::image_path('icons/16/white/admin.png') |
const VOTE_ICON_BIG = Assets::image_path('icons/16/white/vote.png') |
const VOTE_ICON_ERROR = Assets::image_path("icons/16/red/decline.png") |
const VOTE_ICON_INFO = Assets::image_path("icons/16/grey/exclaim.png") |
const VOTE_ICON_LIST = Assets::image_path("icons/16/grey/file-generic.png") |
const VOTE_ICON_STOPPED = Assets::image_path('icons/16/grey/vote-stopped.png') |
const VOTE_ICON_SUCCESS = Assets::image_path("icons/16/green/accept.png") |
const VOTE_ICON_TEST = Assets::image_path('icons/16/grey/test.png') |
const VOTE_ICON_VOTE = Assets::image_path('icons/16/grey/vote.png') |
const VOTE_IMAGETYPE_BAR = 1 |
Imagetype BAR-Graph public VOTE_IMAGETYPE_BAR
const VOTE_IMAGETYPE_LINE = 2 |
Imagetype LINE-Graph public VOTE_IMAGETYPE_LINE
const VOTE_IMAGETYPE_PIE = 0 |
Imagetype PIE-Graph public VOTE_IMAGETYPE_PIE
const VOTE_NEW = "new" |
Votestate -> a new vote. public VOTE_NEW
const VOTE_RESULTS_AFTER_END = "end" |
State for resultVisibility. Show the result after the end of the vote. public VOTE_RESULTS_AFTER_END
const VOTE_RESULTS_AFTER_VOTE = "delivery" |
State for resultvisibility. Show the result after the user has voted. public VOTE_RESULTS_AFTER_VOTE
const VOTE_RESULTS_ALWAYS = "ever" |
State for resultVisibility. Show the result at any time. public VOTE_RESULTS_ALWAYS
const VOTE_RESULTS_NEVER = "never" |
State for resultVisibility. Show the result never. public VOTE_RESULTS_NEVER
const VOTE_SHOW_MAXTITLELENGTH = 80 |
max length of the title in a headline public VOTE_SHOW_MAXTITLELENGTH
const VOTE_STATE_ACTIVE = "active" |
const VOTE_STATE_NEW = "new" |
const VOTE_STATE_STOPINVIS = "stopinvis" |
const VOTE_STATE_STOPPED = "stopped" |
const VOTE_STATE_STOPVIS = "stopvis" |
const VOTE_STOPPED_INVISIBLE = "stopinvis" |
Votestate -> stopped an invisible public VOTE_STOPPED_INVISIBLE
const VOTE_STOPPED_VISIBLE = "stopvis" |
Votestate -> stopped and visible public VOTE_STOPPED_VISIBLE
const YES = 1 |