You are here

Functions in Shoutbox 5

Primary tabs

Namesort descending Location Description Direct uses Strings
shoutbox_access_callback ./shoutbox.module Function to handle shoutbox access callbacks that require a shout_id. Does some sanity checking on on the id and loads the shout before calling _shoutbox_user_access. 1
shoutbox_add_form ./shoutbox.module Generates form for adding shouts. 1
shoutbox_add_form_submit ./shoutbox.module Handles submission of a shout.
shoutbox_add_form_validate ./shoutbox.module Makes sure uses don't submit default values.
shoutbox_admin_settings ./shoutbox.module Form for admin/settings/shoutox page. 1
shoutbox_block ./shoutbox.module Make the shout box block available. (Standard Drupal hook).
shoutbox_callback ./shoutbox.module Function to handle shoutbox callbacks that require a shout_id. Does some sanity checking on on the id before forwarding to the actual callback. 1
shoutbox_cron ./shoutbox.module Implementation of hook_cron().
shoutbox_delete_form ./shoutbox.module Displays a "Are you sure message ?" with a Yes and Cancel option. 1
shoutbox_delete_form_submit ./shoutbox.module Handle the delete form submission.
shoutbox_edit_form ./shoutbox.module Form for editing shouts. 1
shoutbox_edit_form_submit ./shoutbox.module Handle the edit form submission.
shoutbox_help ./shoutbox.module Describe the shoutbox module.
shoutbox_install ./shoutbox.install
shoutbox_js_view ./shoutbox.module Javascript callback. Prints out shouts only. 1
shoutbox_menu ./shoutbox.module Implementation of hook_menu().
shoutbox_page_view ./shoutbox.module Show paged view of full list of shouts. 1
shoutbox_perm ./shoutbox.module Implementation of hook_perm().
shoutbox_publish_form ./shoutbox.module Displays a "Are you sure message ?" with a Yes and Cancel option. 1
shoutbox_publish_form_submit ./shoutbox.module Handle the publish form submission.
shoutbox_simpletest ./shoutbox.module Implementation of hook_simpletest().
shoutbox_uninstall ./shoutbox.install Uninstall shoutbox.
shoutbox_unpublish_form ./shoutbox.module Displays a "Are you sure message ?" with a Yes and Cancel option. 1
shoutbox_unpublish_form_submit ./shoutbox.module Handle the unpublish form submission.
shoutbox_update_5200 ./shoutbox.install Update hook. This update prepares the database for for shoutbox 5.2.x Removes the moderation table Drops the status column on the shoutbox table Adds sid column to the shoutbox table
shoutbox_user ./shoutbox.module Implementation of hook_user().
theme_shoutbox_links ./shoutbox.module Theme function of shoutbox actions. Actions are edit, delete, promote and demote. NOTE: Function does not return html but rather an array with the actions as keys. See code.
theme_shoutbox_page ./shoutbox.module Theme function for displaying the shoutbox page.
theme_shoutbox_post ./shoutbox.module Theme function for shoutbox posts.
theme_shoutbox_post_forbidden ./shoutbox.module Theme function for displaying the access denied message.
_shoutbox_block_view ./shoutbox.module Returns the themed HTML to be displayed in the block. 1
_shoutbox_display_posts ./shoutbox.module Output existing shoutbox posts as html. Used by shoutbox_block_view. 3
_shoutbox_filter_form ./shoutbox.module 1
_shoutbox_get_links ./shoutbox.module Returns an array containing the possible actions for the current user based on permissions and shout. The actions are edit, delete, moderate. 2
_shoutbox_ip_address ./shoutbox.module Backport of ip_address function from Drupal 6. 1
_shoutbox_is_user_owned ./shoutbox.module Determine if the current user owns the $shout. 2
_shoutbox_moderate_shout ./shoutbox.module Update the moderate bit in the database. 2
_shoutbox_sanitize_shout ./shoutbox.module This function cleans the shout object before it is used. 3
_shoutbox_user_access ./shoutbox.module This function is necessary because even if a user has permission (according to the user_access function), they still should not have some permissions, such as moderating their own posts, etc. 9

Other projects