Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
recordofstudy.php File Reference

Functions

 createFdfAR ($seminars)
 printPDF ($pdf_file, $pdf_data)
 convertSemester ($semname)
 createInfoxboxArray ($mode)

Variables

 $semester = $_POST['semester']
else $mode = "new"
 $infobox = createInfoxboxArray($mode)
if($mode=="new") elseif($mode=="edit")
elseif($mode=="pdf_assortment") 
elseif ($mode== 'create_pdf')
if($mode=="new") elseif($mode=="edit")
elseif($mode=="pdf_assortment")
elseif($mode=="create_pdf") 
if (!isset($_GET["create_pdf"]))

Function Documentation

convertSemester (   $semname)

replaces the semester token

public

Parameters
string$semnamea semestertitle (exampl: 'SS 2003')
Returns
string the full semestertitle

Here is the caller graph for this function:

createFdfAR (   $seminars)

creates an array with the data to fill the pdf

private

Parameters
string$seminarsthe seminars
Returns
array an array with the data for the pdf
createInfoxboxArray (   $mode)

creates an array which conntains infobox labels

private

Parameters
string$modethe current site-mode
Returns
array an array with infobox labels
printPDF (   $pdf_file,
  $pdf_data 
)

creates a fdf and sends it to the browser

private

Parameters
string$pdf_filethe URL of the pdf-template
array$pdf_datathe key and values to send

Variable Documentation

$infobox = createInfoxboxArray($mode)
else $mode = "new"
$semester = $_POST['semester']
if ($mode=="new") elseif ($mode=="edit") elseif ($mode=="pdf_assortment") elseif($mode== 'create_pdf')
if ($mode=="new") elseif ($mode=="edit") elseif ($mode=="pdf_assortment") elseif ($mode=="create_pdf") if(!isset($_GET["create_pdf"]))