RE: [PHP-GTK] clist:get_row_data
| From: | Oliver Hotz | Date: | Mon, 29 Nov 2004 15:37:21 +0000 |
| Subject: | RE: [PHP-GTK] clist:get_row_data | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5270@lists.php.net to get a copy of this message | ||
I just can't get it to work... this is what I have:
function QueueSelectRow( $objPara1)
{
$row = $this->arWidgets["queueclist"]->selection[0]; // selected row
$rowdata = $this->arWidgets["queueclist"]->get_row_data($row);
var_dump($rowdata);
}
$row gets assigned correctly, its either 0 or 1, depending which of my 2
rows I select... however, $rowdata is always NULL :(
Oliver
-----Original Message-----
From: Alan Knowles [mailto:alan@akbkhome.com]
Sent: Sunday, November 28, 2004 10:28 PM
To: oliver@heimlich.net
Cc: php-gtk-general@lists.php.net
Subject: Re: [PHP-GTK] clist:get_row_data
Cant remember all the tricks on this, probably just be carefull you are
using a reference to the row/list, rather than a copy (eg. =& rather than =)
http://docs.akbkhome.com/phpmole/module_directory_viewer.html
look for set_row_data /get_row_data
Regards
Alan
Oliver Hotz wrote:
>Is there anything special you need to do to make this work ?
>
>Doesn`t matter which row I query, my result is always NULL
>
>Thanks for any help
>
>
>