4 |
## $Id$ |
## $Id$ |
5 |
## ------------------------------------------------------------------------- |
## ------------------------------------------------------------------------- |
6 |
## $Log$ |
## $Log$ |
7 |
|
## Revision 1.14 2004/11/15 16:51:48 jonen |
8 |
|
## + added var 'numrows' to constructor args |
9 |
|
## |
10 |
## Revision 1.13 2004/10/07 14:17:50 jonen |
## Revision 1.13 2004/10/07 14:17:50 jonen |
11 |
## + pass filter-values to backend now! (page-control!) |
## + pass filter-values to backend now! (page-control!) |
12 |
## |
## |
106 |
* |
* |
107 |
* |
* |
108 |
*/ |
*/ |
109 |
function GenericGUIDataList($title, $width = "100%", $default_orderby='', $default_reverseorder=FALSE, $options = array()) { |
function GenericGUIDataList($title, $width = "100%", $default_orderby='', $default_reverseorder=FALSE, $num_rows=10, $options = array()) { |
110 |
if ($options) { $this->_options = $options; } |
if ($options) { $this->_options = $options; } |
111 |
|
|
112 |
|
$this->set_numrows($num_rows); |
113 |
|
|
114 |
// call parent constructor |
// call parent constructor |
115 |
$parent = get_parent_class($this); |
$parent = get_parent_class($this); |
116 |
$this->$parent($title, $width = "100%", $default_orderby='', $default_reverseorder=FALSE); |
$this->$parent($title, $width = "100%", $default_orderby='', $default_reverseorder=FALSE); |
117 |
|
|
118 |
} |
} |
119 |
|
|
120 |
|
|