| ||
|
|
ResultSetResultSet is a page scrolling, sortable interface for displaying the results of a query. It takes an array of InputObjects which can specify database fields (or complex combinations of database fields). It creates a QueryObject (or is given one) and passes it to each InputObject. Those each select what they need to. If the user has clicked to sort by a column, then that Input is asked to add a sort to the QueryObject.It is also possible to use a ResultSet to edit many rows at once. The browse.php page is set up for this using the Browser classes. Notice that the Browser class selects what it needs to, and then the ResultSet does the ordering into the query object. ResultSet is limited to normal database tables. ObjektResultSet is a subclass that can display and edit Objekts. |
|