Difference between revisions of "Software Design:Forums"
Line 22: | Line 22: | ||
The defining module for individual forum_forum objects stored in the table forum_forums. | The defining module for individual forum_forum objects stored in the table forum_forums. | ||
− | ===== | + | =====Forum_Topic.pm===== |
The defining module for individual forum_topic objects stored in the table forum_topics. | The defining module for individual forum_topic objects stored in the table forum_topics. | ||
+ | |||
+ | =====Forum_Post.pm===== | ||
+ | The defining module for individual forum_post objects stored in the table forum_posts. |
Latest revision as of 19:47, 8 April 2011
Files
Forum.pm
The root of all the Forum Library files.Forum.pm contains the other library files as "use Forum_foo;"
Forum.pm contains constants, style routines, and utility routines
- Constants
- posts_per_page()
- in_page_post_limit()
- grayed
- background_color
- $outer_div_style
- style_html()
- Utility Routines
- install_html($topic, $first_post) ****** needs topic_name/domain or topic object
- nickname_from_host_url($url)
- formatted_date($mysql_datetime)
- formatted_icon($type)
- canonical_n_and_d($name, $domain, $url)
Forum_Forum.pm
The defining module for individual forum_forum objects stored in the table forum_forums.
Forum_Topic.pm
The defining module for individual forum_topic objects stored in the table forum_topics.
Forum_Post.pm
The defining module for individual forum_post objects stored in the table forum_posts.