Commit Graph

90 Commits

Author SHA1 Message Date
tjhunt c7ecf78e5f tablelib: MDL-18372 Let people specify a CSS class name to add to the <tr> element. 2009-02-25 08:07:19 +00:00
jamiesensei ef27e74273 MDL-16869 "Exporting leaves <p> </p> in essay responses" added method to flexible_table class format_text that takes the same parameters as format_text the function in weblib. If the table is not in download mode then this formats the text as html. If it is then it strips the tags or does the right thing depending on the download type. Added methods to download classes to tell flexible_table class what should be done with html. 2008-10-14 15:00:26 +00:00
jamiesensei 869309b8d8 MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets. 2008-09-11 12:48:08 +00:00
jamiesensei db16ac502a MDL-16126 "Altering the number of students shown can lead to students being inadvertently hidden" make sure that initials bar is shown if we are filtering by initials. 2008-08-29 06:03:02 +00:00
jamiesensei 43ec99aa74 MDL-15268 "Content for Quiz Statistics report table" further work on quiz statistics report. 2008-07-30 09:02:44 +00:00
jamiesensei 0fa4107dfc MDL-15719 "overview report slow for large data sets - count sql operation for table paging repeated twice whether or not it is necessary" 2008-07-20 12:21:59 +00:00
jamiesensei f36a330892 MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" initialize array. 2008-06-14 13:18:14 +00:00
jamiesensei 1f9ca535fd MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" moved format row method and related methods and properties onto parent class to make it available for use for tables that don't use the functionality in table_sql 2008-06-13 14:30:35 +00:00
nicolasconnault 9cf4a18b41 MDL-15113 Upgrade to DMLLIB 2.0. Needs further testing and bug-fixing.
MDL-15100 Fixed a bug in gradelib.php
Plus edited tablelib.php for table_sql upgrade to dmllib 2.0
2008-06-09 10:00:35 +00:00
jamiesensei 20e1f1c0dd MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" 2008-06-06 12:03:09 +00:00
skodak 7e60297f54 MDL-14679 converted some sql_'s 2008-06-02 21:56:06 +00:00
jerome d07fe1a930 MDL-11748 add "protection" to avoid Notices in the A-Z name selector, merged from 19 2008-05-22 02:36:06 +00:00
jamiesensei aad5b0fca9 MDL-14200 "Add group and course averages" added extra rows to the end of the table in quiz overview report also MDL-14187 "Improve tablelib - improve api and add functionality to download table contents in a variety of formats - XLS, ODS and CSV" implemented the first of my proposals for improving tablelib. Added a extra method to use keyed arrays to add a row to a table. Seems obvious that this is an improvement to tablelib and it is an addition to the API so won't affect existing code.
Merged from 1.9 branch.
2008-05-15 12:27:27 +00:00
nicolasconnault 7bd75cb3c1 MDL-13919 Fixed undefined variable. Merging from MOODLE_19_STABLE 2008-03-13 14:02:54 +00:00
tjhunt 901e25d481 Improve PHP doc comments. 2007-12-12 19:01:59 +00:00
nfreear f79f249490 Follow up fix for MDL-11436 'Encapsulate "accesshide" HTML class in function', and use. 2007-10-15 10:04:41 +00:00
skodak 353f3f2037 MDL-11416 support for nonsortable columns in table lib 2007-09-23 15:54:33 +00:00
nicolasconnault 561d406ba7 Started adding PHPDoc to flexible_table 2007-06-20 03:52:59 +00:00
stronk7 d1b523b7d0 All flexible tables will have the "flexible" class. Point 3.1 of MDL-8419
Merged from MOODLE_18_STABLE
2007-02-22 18:27:10 +00:00
urs_hunkler 6e291bc6a5 'changed table headers style adding as proposed by Eloy - MDL-8419' 2007-02-22 08:22:37 +00:00
urs_hunkler 7ee8146e61 'added CSS for white-space:nowrap in styles_layout and took the hardcoded inline style out here. Where is it missing now???' 2007-02-21 21:09:08 +00:00
skodak 82b9f43e76 MDL-7861xhtml strict fixes 2007-01-08 21:22:57 +00:00
toyomoyo 736c3c4ce5 putting nowarp back into table with proper style 2007-01-08 02:13:21 +00:00
toyomoyo d9cb14b885 MDL-7861, fixing xhtml strict problems 2007-01-05 04:57:58 +00:00
toyomoyo b2603953be MDL-7861, taking out <br/>s in title tag 2006-12-19 07:19:13 +00:00
toyomoyo 8dc9a21139 adding scope="col" for table headers 2006-12-06 03:59:55 +00:00
toyomoyo 49108746a9 fix for MDL-7507. participants list, fix links to ordering links, added accesshide texts to links 2006-12-06 03:46:04 +00:00
skodak 2bbaf749c8 MDL-7434 all images that convey information should have alt text to convey that information - part 2 2006-11-25 18:09:33 +00:00
toyomoyo 1d40c70b43 fix for MDL-7483, add table header to user picture on participants listing 2006-11-13 03:43:12 +00:00
mjollnir_ f53fba389a If tablelib is going to do fullname voodoo, it should allow us to make the default order field something that makes up fullname (ie, firstname/lastname) 2005-11-18 04:19:58 +00:00
defacer 9013e4ad73 Now get_sql_sort can be called static-function-imitation style as well.
Necessary to solve SC#187 gracefully.
2005-11-13 04:42:21 +00:00
defacer a5a3f48a4a Merging from STABLE:
Augment tablelib so that it can accept a default sort order.
Adding default sort order to participant lists to reinstate 1.4-style behavior.
2005-06-20 03:47:19 +00:00
defacer 91bb59f49f Merging from STABLE:
Added function that exports current selection for first/last initial
Added extra CSS class to initial bars (can now differentiate first/last)
2005-06-03 22:48:07 +00:00
defacer e2ba85e99c Merging from STABLE:
Now tablelib allows the GET variables that control sorting etc. to be
configured. Essential in order to allow two independent tables in the same
screen, which is required for /user/index.php.
2005-05-28 21:24:46 +00:00
moodler 0ce8ba58e8 Store flextable session cache in an independent way so they don't reset each other 2005-04-14 17:43:18 +00:00
moodler 68ffc100fa Don't just print nothing - print "nothing to display" 2005-04-14 15:35:27 +00:00
gustav_delius 1e42af2786 added paging bar also at the bottom of the table 2005-04-13 09:57:10 +00:00
defacer 73e4f58953 Support for arbitrary number of sort columns.
There is an active hard limit in there which does not allow more than two,
but changing this is as simple as setting $maxsortkeys to something else.
2005-03-10 16:38:01 +00:00
defacer 554906f69a New feature: you can now give a HTML class to a column with $table->column_class() 2005-03-08 14:57:16 +00:00
defacer 7270d81fad New table class that makes it easy to use goodies like paging etc. 2005-03-08 11:14:15 +00:00