Writing /home/tachyon/public_html/scripts/data/cache/0/01c5cdf2ef8768f3165082e7caa3adff.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/tachyon/public_html/scripts/data/cache/0/01c5cdf2ef8768f3165082e7caa3adff.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/tachyon/public_html/scripts/data/cache/0/01c5cdf2ef8768f3165082e7caa3adff.xhtml failed
Table of Contents

vsns

Versions: VSNS 4

Description

Core class of VSNS Lemon. It contains common functions used by other classes and the script itself.

This is a static class; it should never be instantiated.

Properties

  • public static $db
  • public static $page

Methods

  • array_obj - Converts an object into an array
  • article_exists - Checks if an article with a given ID exists.
  • clean_input_data - Sanitizes user input
  • comment_exists - Checks if a comment with a given ID exists.
  • delete_article - Deletes an article.
  • delete_comment - Deletes a comment.
  • display_blog - Displays a number of articles based on arguments
  • emote_list - Returns a clickable list of all emoticons
  • emote_update - Updates emoticons in configuration
  • escape - Escapes string or array prior to insertion into a database
  • format_post - Formats an article or comment's content prior to display
  • jump_form - Creates a form to jump to a particular date or category
  • load_config - Loads VSNS Lemon's configuration variables
  • login - Logs a user into the Admin CP
  • logout - Logs a user out of the Admin CP
  • nl2br_skip_html - Converts newlines to HTML linebreaks
  • override - Overwrites the session config values with supplied replacements
  • remove - Removes any content between matching HTML comments in a template file
  • replace - Replaces an array of template variables in a template file
  • replace_emotes - Replaces emoticon codes with the actual image
  • strip - Removes whitespace from a string
  • write_rss - Updates the RSS feed
 
vsns_lemon/vsns.txt · Last modified: 2008/06/09 16:39 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki