[ PHPXref.com ] [ Generated: Sun Jul 20 19:45:06 2008 ] [ PhpLabware 0.6 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/includes/ -> tablemanage_inc.php (summary)

support functions dealing with defining tablesauthor: Ethan Garner, Nico Stuurman <nicost@sf.net>

File Size: 803 lines (33 kb)
Included or required: 4 times
Referenced: 0 times
Includes or requires: 1 file
 includes/report_inc.php

Defines 18 functions

  create_new_table()
  del_table()
  add_table()
  mod_table()
  add_columnecg()
  mod_columnECG()
  mod_columnjs()
  mod_report()
  rm_report()
  test_report()
  export_report()
  add_report()
  rm_columnecg()
  make_column_js_array()
  show_active_link_page()
  add_active_link()
  show_table_column_page()
  add_associated_table()

Functions
Functions that are not part of a class:

create_new_table($db)   X-Ref
*
Prints form with access to table management functions


del_table($db,$tablename,$id,$USER)   X-Ref
*
deletes a user-generated table, including associated tables


add_table($db,$tablename,$tablelabel,$sortkey,$plugincode)   X-Ref
*
creates a general table

also adds the tabledescription table and the entry in tableoftables

mod_table($db,$id,$offset)   X-Ref
*
modifies  the display properites of a table within navbar


add_columnecg($db,$tablename2,$colname2,$label,$datatype,$Rdis,$Tdis,$req,$modifiable,$sort)   X-Ref
*
adds a general column entry


mod_columnECG($db,$sort,$id)   X-Ref
*
modifies a general column entry


mod_columnjs($db,$id)   X-Ref
No description

mod_report($db,$offset)   X-Ref
*
Modifies an entry for a report


rm_report($db,$offset)   X-Ref
*
Deletes an entry for a report


test_report($db,$offset,$tablename)   X-Ref
*
Deletes an entry for a report


export_report($db,$offset)   X-Ref
*
Streams a template back to the user


add_report($db)   X-Ref
*
Adds a new entry for a report


rm_columnecg($db,$tablename,$id,$colname,$datatype)   X-Ref
Deletes a general column entry


make_column_js_array($db,$r)   X-Ref
helper function for show_table_column_page


show_active_link_page($db,$table_name,$addcol_name,$addcol_label,$link_part_a=false,$link_part_b=false)   X-Ref
show active link page


add_active_link($db,$table,$column,$link_a,$link_b)   X-Ref
Stores active link data


show_table_column_page($db,$table_name,$addcol_name,$addcol_label)   X-Ref
show page with choice of tables, dynamically generate list with columns


add_associated_table($db,$table,$column,$table_ass,$column_ass)   X-Ref
Associates given column with a column in another table

if there is already an association with the other table, that association
will be used as a key



[ Powered by PHPXref - Served by Debian GNU/Linux ]