|
Stud.IP
jlu_3.3 Revision
|
Namespaces | |
| namespace | vote |
Functions | |
| printSiteTitle () | |
| printSafeguard ($sign, $text, $mode=NULL, $voteID=NULL, $showrangeID=NULL, $referer=NULL) | |
| printSearchResults ($rangeAR, $searchString) | |
| printSelections ($range, $sarchRange="", $safeguard=NULL) | |
| printVoteTable ($mode, $votes=NULL, $openID=NULL) | |
| makeTableHeaderCell ($text=" ", $width="5%", $align="center", $colspan="1") | |
| makeTableDataCell ($text=" ", $class="table_row_even", $align="center", $width="5%", $colspan="1") | |
| makeTableDataCellLink ($username, $text=" ", $class="table_row_even", $align="center", $width="5%", $colspan="1") | |
| makeTableDataCellForm ( $displayclass="table_row_even", $action="overview", $button_name="ok", $button_tooltip="Tooltip", $hidden1_name=NULL, $hidden1_value=NULL, $hidden2_name=NULL, $hidden2_value=NULL, $hidden3_name=NULL, $hidden3_value=NULL, $hidden4_name=NULL, $hidden4_value=NULL) | |
| makeNewVoteSelectForm ($action) | |
| makeDisplaySelectForm ($action) | |
| makeSearchForm () | |
| makeArrow ($timestmp, $open, $displayclass, $mode, $voteID=NULL) | |
| makeCopyVoteSelectForm ($action) | |
| makeArrow | ( | $timestmp, | |
| $open, | |||
| $displayclass, | |||
| $mode, | |||
$voteID = NULL |
|||
| ) |
makes a makeSelectForm @access private


| makeCopyVoteSelectForm | ( | $action | ) |


| makeDisplaySelectForm | ( | $action | ) |
makes a makeSelectForm @access private
param
param


| makeNewVoteSelectForm | ( | $action | ) |
makes a makeSelectForm @access private
param
param


| makeSearchForm | ( | ) |
makes a makeSelectForm @access private


| makeTableDataCell | ( | $text = " ", |
|
$class = "table_row_even", |
|||
$align = "center", |
|||
$width = "5%", |
|||
$colspan = "1" |
|||
| ) |
makes a
...</t> line @access private
| text | string The Text to display or 'blindgif' (optional) |
| class | string class (optional) |
| align | string align (optional) |
| width | string width (optional) |


| makeTableDataCellForm | ( | $displayclass = "table_row_even", |
|
$action = "overview", |
|||
$button_name = "ok", |
|||
$button_tooltip = "Tooltip", |
|||
$hidden1_name = NULL, |
|||
$hidden1_value = NULL, |
|||
$hidden2_name = NULL, |
|||
$hidden2_value = NULL, |
|||
$hidden3_name = NULL, |
|||
$hidden3_value = NULL, |
|||
$hidden4_name = NULL, |
|||
$hidden4_value = NULL |
|||
| ) |
makes a
... with a form
@access private
| class | string class (optional) |
| align | string align (optional) |
| style | string style (optional) |
| action | string action of the form (optional) |
| button_name | name string of the button (optional) |
| button_tooltip | string tooptip for the button (optional) |
| hidden1_name | string name of hidden button1 (optinal) |
| hidden1_value | string value of hidden button1 (optinal) |
| hidden2_name | string name of hidden button2 (optinal) |
| hidden2_value | string value of hidden button2 (optinal) |
| hidden3_name | string name of hidden button3 (optinal) |
| hidden3_value | string value of hidden button3 (optinal) |


| makeTableDataCellLink | ( | $username, | |
$text = " ", |
|||
$class = "table_row_even", |
|||
$align = "center", |
|||
$width = "5%", |
|||
$colspan = "1" |
|||
| ) |
makes a
...</t> line mit a link @access private
| text | string The Text to display or 'blindgif' (optional) |
| class | string class (optional) |
| align | string align (optional) |
| width | string width (optional) |

| makeTableHeaderCell | ( | $text = " ", |
|
$width = "5%", |
|||
$align = "center", |
|||
$colspan = "1" |
|||
| ) |


| printSafeguard | ( | $sign, | |
| $text, | |||
$mode = NULL, |
|||
$voteID = NULL, |
|||
$showrangeID = NULL, |
|||
$referer = NULL |
|||
| ) |
displays the 'Safeguard'
@access private
| sign | string Sign to draw (must be "ok" or "ausruf") |
| text | string The Text to draw |
| voteID | string needed if you want to delete a vote (not needed) |


| printSearchResults | ( | $rangeAR, | |
| $searchString | |||
| ) |

| printSelections | ( | $range, | |
$sarchRange = "", |
|||
$safeguard = NULL |
|||
| ) |
displays the options to create new votes and tests and the display filter
@access private
| $range | array An array with alle accessable rangeIDs [0] and the titles [1] |
| $sarchRange | string The ID of the range to display |

| printSiteTitle | ( | ) |
displays the title bar
@access private
| printVoteTable | ( | $mode, | |
$votes = NULL, |
|||
$openID = NULL |
|||
| ) |
displays the Votes in a table
@access private
| mode | string could be 'new', 'active', 'stopped' or 'start_table', 'end_table' |
| votes | array an array with all the data (optional) |
| openID | string display the results of this voteID (optional) |
