| 
    Stud.IP
    2.4 Revision 48548
    
   | 
  
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) | |
| makeArrow | ( | $timestmp, | |
| $open, | |||
| $displayclass, | |||
| $mode, | |||
$voteID = NULL  | 
        |||
| ) | 
makes a makeSelectForm private


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


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


| makeSearchForm | ( | ) | 
makes a makeSelectForm private


| makeTableDataCell | ( | $text = " ",  | 
        |
$class = "table_row_even",  | 
        |||
$align = "center",  | 
        |||
$width = "5%",  | 
        |||
$colspan = "1"  | 
        |||
| ) | 
makes a
...</t> line 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
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 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'
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
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
private
| printVoteTable | ( | $mode, | |
$votes = NULL,  | 
        |||
$openID = NULL  | 
        |||
| ) | 
displays the Votes in a table
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) | 
