This is an old revision of the document!
Table of Contents
Sugestion on class structure for PunBB2.0
Graphical representation
Explanation
There will be 2 versions of each class:
- the normal class (Read only)
- the _write version (extension of normal class) which will allow storage into the database
The classes
- PunBB: This is the parent calss for all other classes, all otehr classes will extend this class (?good idea?, or better use this class as a global var thats used in all otehr classes). This class will read the absic config from teh db
- PunBB-cathegory: This is basicly a wrapper class (read and write) around the forum categories
- PunBB-forum: This is basicly a wrapper class (read and write) around the forums
- PunBB-Topic: This is basicly a wrapper class (read and write) around the topics
- PunBB-Posts: This is basicly a wrapper class (read and write) around the Posts