Differences
This shows you the differences between the selected revision and the current version of the page.
punbb20:oo 2009/01/26 11:27 | punbb20:oo 2020/02/06 11:04 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Sugestion on class structure for PunBB2.0 ====== | + | NOTE: This is a proposal from cereal, trhis is not punbb official |
- | ===== Graphical representation ===== | + | ====== Suggestion on class structure for PunBB2.0 ====== |
+ | example can be found here http://cereal.box.sk/punbbclass/ | ||
===== Explanation ===== | ===== Explanation ===== | ||
Line 34: | Line 35: | ||
* setName( val ) | * setName( val ) | ||
* setPosition( val ) | * setPosition( val ) | ||
- | * addForum (id): add a forum to this category | ||
* delete: only allow this if the id is not 0 and no forums are added to this category, or add a force option to recursively delete all forums | * delete: only allow this if the id is not 0 and no forums are added to this category, or add a force option to recursively delete all forums | ||