/sources/ocf_general_action2.php

Description
Functions
ocf_delete_emoticon (line 93)

Delete an emoticon.

void ocf_delete_emoticon (SHORT_TEXT $code)
  • SHORT_TEXT $code: The ID of the emoticon to delete.
ocf_delete_post_template (line 47)

Delete a post template.

void ocf_delete_post_template (AUTO_LINK $id)
  • AUTO_LINK $id: The ID of the post template to delete.
ocf_delete_welcome_email (line 128)

Delete a Welcome E-mail.

void ocf_delete_welcome_email (AUTO_LINK $id)
  • AUTO_LINK $id: The ID
ocf_edit_emoticon (line 64)

Edit an emoticon.

void ocf_edit_emoticon (SHORT_TEXT $old_code, SHORT_TEXT $code, ID_TEXT $theme_img_code, integer $relevance_level, BINARY $use_topics, [BINARY $is_special = 0])
  • SHORT_TEXT $old_code: The textual code entered to make the emoticon appear.
  • SHORT_TEXT $code: The old textual code.
  • ID_TEXT $theme_img_code: The image code used for the emoticon.
  • integer $relevance_level: The relevance level.
  • BINARY $use_topics: Whether this may be used as a topic emoticon.
  • BINARY $is_special: Whether this may only be used by privileged members
ocf_edit_post_template (line 30)

Edit a post template.

void ocf_edit_post_template (AUTO_LINK $id, SHORT_TEXT $title, LONG_TEXT $text, SHORT_TEXT $forum_multi_code, BINARY $use_default_forums)
  • AUTO_LINK $id: The ID of the post template to edit.
  • SHORT_TEXT $title: The title for the template.
  • LONG_TEXT $text: The text of the template.
  • SHORT_TEXT $forum_multi_code: The multi code specifying which forums this is applicable in.
  • BINARY $use_default_forums: Whether to use this as the default post in applicable forum.
ocf_edit_welcome_email (line 115)

Edit a Welcome E-mail.

void ocf_edit_welcome_email (AUTO_LINK $id, SHORT_TEXT $name, SHORT_TEXT $subject, LONG_TEXT $text, integer $send_time, ?AUTO_LINK $newsletter)
  • AUTO_LINK $id: The ID
  • SHORT_TEXT $name: A name for the Welcome E-mail
  • SHORT_TEXT $subject: The subject of the Welcome E-mail
  • LONG_TEXT $text: The message body of the Welcome E-mail
  • integer $send_time: The number of hours before sending the e-mail
  • ?AUTO_LINK $newsletter: What newsletter to send out to instead of members (NULL: none)
ocf_get_forum_multi_code_field (line 144)

Get a form field for editing a forum multi code, set up with a default of the given forum multi code.

  • return: The form field.
tempcode ocf_get_forum_multi_code_field (SHORT_TEXT $forum_multi_code)
  • SHORT_TEXT $forum_multi_code: The multi code.
ocf_mod_log_it (line 171)

Log a moderation action.

void ocf_mod_log_it (ID_TEXT $the_type, [SHORT_TEXT $param_a = ''], [SHORT_TEXT $param_b = ''], [LONG_TEXT $reason = ''], [?MEMBER $by = NULL], [?TIME $date_and_time = NULL])
  • ID_TEXT $the_type: The type of moderation.
  • SHORT_TEXT $param_a: First detailing parameter.
  • SHORT_TEXT $param_b: Second detailing parameter.
  • LONG_TEXT $reason: The reason for the moderation (may be blank).
  • ?MEMBER $by: The member performing the moderation (NULL: current member).
  • ?TIME $date_and_time: The time of the moderation (NULL: just now).

Documentation generated on Sun, 02 Jan 2011 23:19:44 +0000 by phpDocumentor 1.4.3