b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: evocore ] [ index: evocore ] [ all elements ]

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):
		
API Tags:
Abstract:  

Information Tags:
Version:  beta

Methods

[ 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]

  DataObjectList DataObjectList( string $tablename, [string $prefix = ''], [string $dbIDname = 'ID']  )

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]

  true display_if_empty( [string $message = '']  )

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:

[ Top ]
get_next  [line 88]

  void get_next( )

Get next comment in list



[ Top ]
get_num_rows  [line 78]

  integer get_num_rows( )

Get nummber of rows available for display



[ Top ]
restart  [line 102]

  void restart( )

Rewind resultset



Redefined in descendants as:

[ Top ]

Documentation generated on Tue, 20 May 2008 01:52:53 +0200 by phpDocumentor 1.4.2