Patches item #504000, was opened at 2002-01-16 05:46
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=403613&aid=504000&group_id=31885
Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Fred Yankowski (fredy)
Assigned to: Richard Archer (richardarcher)
Summary: fix calls to table_row_open()
Initial Comment:
According to its comment, the second argument to
table_row_open() in table.inc should be the array of
data for the cells. This patch updates code in
table.inc so that that data is actually passed, rather
than passing an array of column names (as current).
I have found this change to be very useful in practice
as it allows me to override table_row_open in a
subclass, where that specialized function stores away
some information from $data so that data from one cell
can be used when processing another cell.
This patch should fix bug #466835.
----------------------------------------------------------------------
>Comment By: Richard Archer (richardarcher)
Date: 2002-04-28 18:16
Message:
Logged In: YES
user_id=279311
I have added an option to pass the full table data to
table_row_open. This is turned off by default to maintain
the old API, but can be enabled by setting
$table->full_data_to_table_row_open = 1.
----------------------------------------------------------------------
Comment By: Richard Archer (richardarcher)
Date: 2002-04-25 15:08
Message:
Logged In: YES
user_id=279311
I'm not too keen on applying this patch.
While it makes more sense to pass the full array, this patch
changes the current API, possibly breaking existing
installations which depend on the old method.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=403613&aid=504000&group_id=31885
|