[svn r21684] Minor - Added documentation

skala
Arthur Portugal 17 years ago
parent 474651c017
commit 6f4e28e483
  1. 11
      main/inc/lib/display.lib.php

@ -90,7 +90,8 @@ class Display {
* Displays the tool introduction of a tool. * Displays the tool introduction of a tool.
* *
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University * @author Patrick Cool <patrick.cool@UGent.be>, Ghent University
* @param string $tool These are the constants that are used for indicating the tools * @param string $tool These are the constants that are used for indicating the tools.
* @return $tool return a string array list with the "define" in main_api.lib
* @return html code for adding an introduction * @return html code for adding an introduction
*/ */
public function display_introduction_section($tool) public function display_introduction_section($tool)
@ -103,15 +104,13 @@ class Display {
} }
} }
/* /**
* Displays a localised html file * Displays a localised html file
*
* tries to show the file "$full_file_name"."_".$language_interface.".html" * tries to show the file "$full_file_name"."_".$language_interface.".html"
* and if this does not exist, shows the file "$full_file_name".".html" * and if this does not exist, shows the file "$full_file_name".".html"
*
* warning this public function defines a global * warning this public function defines a global
*
* @param $full_file_name, the (path) name of the file, without .html * @param $full_file_name, the (path) name of the file, without .html
* @return return a string with the path
*/ */
public function display_localised_html_file($full_file_name) public function display_localised_html_file($full_file_name)
{ {
@ -146,10 +145,10 @@ class Display {
* "class" - the class to use for the table, e.g. "class=\"data_table\"" * "class" - the class to use for the table, e.g. "class=\"data_table\""
* "cellpadding" - the extra border in each cell, e.g. "8",default is 4 * "cellpadding" - the extra border in each cell, e.g. "8",default is 4
* "cellspacing" - the extra space between cells, default = 0 * "cellspacing" - the extra space between cells, default = 0
*
* @param column_header, array with the header elements. * @param column_header, array with the header elements.
* @author Roan Embrechts * @author Roan Embrechts
* @version 1.01 * @version 1.01
* @return return type string, bgcolor
*/ */
public function display_complex_table_header($properties, $column_header) public function display_complex_table_header($properties, $column_header)
{ {

Loading…
Cancel
Save