Class Guestbook

Description

Class Guestbook holds posts written by chatters

Class Guestbook holds posts written by chatters

  • version: $Id: class.Guestbook.inc,v 1.2 2003/08/06 12:19:36 letreo Exp $
  • access: public
  • author: Michael Oertel <michael@ortelius.de>

Located in /include/class.Guestbook.inc (line 45)


	
			
Variable Summary
 object $chatter
 object $db
 array $posts
Method Summary
 Guestbook 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 52)

chatter object represents a person taking part in a chat session

chatter object represents a person taking part in a chat session

integer $connection_count = 0 (line 66)
object $db (line 73)
array $posts = array() (line 59)

Contains all posts for current chatter

Contains all posts for current chatter

Methods
Constructor Guestbook (line 80)

Constructor for class Guestbook

Constructor for class Guestbook

Guestbook Guestbook (mixed $_chatter, object $chatter)
  • object $chatter: chatter object represents a person taking part in a chat session
connect (line 99)

Connect to the database

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 120)

Disconnect the database

Disconnect the database

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

Loads all posts for current chatter from DB

Loads all posts for current chatter from DB

void load_posts ()
put_post (line 163)

Writes posts into the guestbook

Writes posts into the guestbook

  • access: public
void put_post (object $post)
  • object $post

Documentation generated on Tue, 29 Jun 2004 14:42:05 +0200 by phpDocumentor 1.3.0RC3