Class: DataObjectList
Source Location: /blogs/b2evocore/_class_dataobjectlist.php
Class DataObjectList
Class Overview
|
Data Object List Base Class This is typically an abstract class, useful only when derived. Located in /blogs/b2evocore/_class_dataobjectlist.php [line 24] Author(s):
Information Tags:
|
[ Top ]
Direct descendents
| Child Class | Description |
|---|---|
| CommentList | Comment List Class |
| ArchiveList | Archive List Class |
| ItemList | Item List Class |
[ Top ]
Method Summary
| DataObjectList | DataObjectList() | Constructor |
| true | display_if_empty() | Template function: display message if list is empty |
| void | get_next() | Get next comment in list |
| integer | get_num_rows() | Get nummber of rows available for display |
| void | restart() | Rewind resultset |
[ Top ]
Methods
Constructor DataObjectList [line 64]
|
Constructor
Parameters:| string | $tablename: | Name of table in database |
| string | $prefix: | Prefix of fields in the table |
| string | $dbIDname: | Name of the ID field (including prefix) |
[ Top ]
display_if_empty [line 116]
|
Template function: display message if list is empty
Parameters:| string | $message: | String to display if list is empty |
API Tags:
| Return: | if empty |
Redefined in descendants as:
- CommentList::display_if_empty() : Template function: display message if list is empty
- ItemList::display_if_empty() : Template function: display message if list is empty
[ Top ]
