Writing /home/tachyon/public_html/scripts/data/cache/8/8c03cfd7dd29a59c4fd4be2b5e0553b9.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/tachyon/public_html/scripts/data/cache/8/8c03cfd7dd29a59c4fd4be2b5e0553b9.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/tachyon/public_html/scripts/data/cache/8/8c03cfd7dd29a59c4fd4be2b5e0553b9.xhtml failed

vsns_comment

Versions: VSNS 4

Description

Contains information about a single comment and allows you to manipulate and display it. Each comment is a new instance of this class.

Properties

  • public $article_id
  • public $comment
  • public $commentemail
  • public $date
  • public $ID
  • public $ip
  • public $name
  • public $pubDate
  • public $queue
  • public $uri
  • public $website

Methods

This class contains several private methods which may only–and should only–be called from within another method of the class.

  • __construct - Loads comment data into properties when a new instance is created
  • display - Outputs the formatted comment data
  • edit - Processes a new or edited comment
  • edit_form - Displays form for creating a new comment or editing a comment.
  • insert - Inserts a new comment into the database (private)
  • preview - Generates a preview of the comment prior to saving changes
  • sync - Overwites existing properties with edited data (private)
  • update - Commits a comment's edited data to the database (private)
 
vsns_lemon/comment.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