Class: DataObjectList2
Source Location: /blogs/inc/_core/model/dataobjects/_dataobjectlist2.class.php
Class DataObjectList2
|
Data Object List Base Class 2 This is typically an abstract class, useful only when derived. Holds DataObjects in an array and allows walking through... This SECOND implementation will deprecate the first one when finished. Located in /blogs/inc/_core/model/dataobjects/_dataobjectlist2.class.php [line 140] Widget | --Table | --Results | --FilteredResults | --DataObjectList2Author(s):
Information Tags:
|
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From FilteredResults Inherited From Results
Inherited From Table Inherited From Widget |
Inherited From FilteredResults
Inherited From Results
Inherited From Table
Inherited From Widget
|
| DataObjectList2 | DataObjectList2() | Constructor |
| void | &get_by_idx() | Instantiate an object for requested row and cache it: |
| void | get_filter_title() | Display a global title matching filter params |
| void | &get_next() | Get next object in list |
| void | &get_row_by_idx() | |
| unknown | move_down() | Move down the element order in database |
| unknown | move_up() | Move up the element order in database |
|
Constructor
If provided, executes SQL query via parent Results object
Parameters:| DataObjectCache | &$Cache: | |
| integer | $limit: | number of lines displayed on one screen (null for default [20]) |
| string | $param_prefix: | prefix to differentiate page/order params when multiple Results appear one same page |
| string | $default_order: | default ordering of columns (special syntax) |
|
Instantiate an object for requested row and cache it:
Parameters:| $idx: |
|
Display a global title matching filter params
Parameters:| string | $prefix: | prefix to display if a title is generated |
| string | $suffix: | suffix to display if a title is generated |
| string | $glue: | glue to use if multiple title elements are generated |
| string | $order: | comma separated list of titles inthe order we would like to display them |
| string | $format: | format to output, default 'htmlbody' |
Information Tags:
| Todo: | implement $order |
|
Move down the element order in database
Parameters:| integer | $id: | id element |
