PEAR | --BifWidget | --MySQLList
The field name will be used in template file.
is as simple as this:
class MyList extens MySQLList { function MyList($attrs = array()) { $attrs['QUERY'] = "select nombre from padron"; $this->MySQLList($attrs); } }
and mylist.tpl
--------------------------- <!-- BEGIN item --> {nombre}<br> <!-- END item --> ---------------------------
MySQLList MySQLList( [$attrs $attrs = array()], string 1)
void innerDraw( )
void parseRow( mixed $row)
Overridden in child classes as: