Class: DataObjectList2
Source Location: /blogs/inc/MODEL/dataobjects/_dataobjectlist2.class.php
Class DataObjectList2
Class Overview
|
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/MODEL/dataobjects/_dataobjectlist2.class.php [line 81] Widget | --Results | --FilteredResults | --DataObjectList2Author(s):
Information Tags:
|
[ Top ]
Inherited Properties, Constants, and Methods
| Inherited Properties | Inherited Methods | Inherited Constants |
|---|---|---|
|
Inherited From FilteredResults Inherited From Results
Inherited From Widget |
Inherited From FilteredResults
Inherited From Results
Inherited From Widget
|
[ Top ]
Method Summary
| 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 |
| unknown | move_down() | Move down the element order in database |
| unknown | move_up() | Move up the element order in database |
[ Top ]
Properties
Methods
Constructor DataObjectList2 [line 95]
|
Constructor
If provided, executes SQL query via parent Results object
Parameters:| DataObjectCache | &$Cache: | |
| integer | $limit: | number of lines displayed on one screen |
| 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) |
[ Top ]
get_by_idx [line 113]
|
Instantiate an object for requested row and cache it:
Parameters:| $idx: |
[ Top ]
get_filter_title [line 152]
|
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 |
[ Top ]
move_down [line 227]
|
Move down the element order in database
Parameters:| integer | $id: | id element |
[ Top ]
