Difference between revisions of "Software Design:Forums"
(Forum Documentation) |
|||
Line 6: | Line 6: | ||
*Constants | *Constants | ||
** posts_per_page() | ** posts_per_page() | ||
− | ** | + | ** in_page_post_limit() |
** grayed | ** grayed | ||
** background_color | ** background_color | ||
Line 18: | Line 18: | ||
** formatted_icon($type) | ** formatted_icon($type) | ||
** canonical_n_and_d($name, $domain, $url) | ** 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_Topics.pm===== | ||
+ | The defining module for individual forum_topic objects stored in the table forum_topics. |
Revision as of 19:45, 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_Topics.pm
The defining module for individual forum_topic objects stored in the table forum_topics.