## Class Guestbook

Description

Class Guestbook holds posts written by chatters

- version: $Id: class.Guestbook.inc,v 1.1 2003/03/28 15:08:24 letreo Exp $
- access: public
- author: Michael Oertel <michael@ortelius.de>

Located in Program_Root/include/class.Guestbook.inc (line 43)

Variable Summary
object $chatter
integer $connection_count
array $posts
Method Summary
void Guestbook (mixed $_chatter, object $chatter)
void connect ()
void del_post (mixed $sender, mixed $time)
void disconnect ()
void get_posts ()
void load_posts ()
void put_post (object $post)
Variables
object $chatter = null (line 50)

chatter object represents a person taking part in a chat session

integer $connection_count (line 64)

- see: Guestbook::disconnect()
- see: Guestbook::connect()

array $posts = array() (line 57)

Contains all posts for current chatter

Methods
Constructor Guestbook (line 78)

Constructor for class Guestbook

void Guestbook (mixed $_chatter, object $chatter)

- object $chatter: chatter object represents a person taking part in a chat session

connect (line 97)

Connect to the database

Establish a database connection

- access: public

void connect ()
del_post (line 197)
void del_post (mixed $sender, mixed $time)
disconnect (line 118)

Disconnect the database

- see: Guestbook::connect()
- access: public

void disconnect ()
get_posts (line 192)
void get_posts ()
load_posts (line 142)

Loads all posts for current chatter from DB

void load_posts ()
put_post (line 163)

Writes posts into the guestbook

- access: public

void put_post (object $post)

- object $post

Documention generated on Fri, 2 May 2003 10:50:45 +0200 by phpDocumentor 1.2.0rc2