Net.PageData
This class handles most of the operations associated with pages that display coding ideas and turorials. It does not include the section page, search or member page code.

Access: Public
Base Classes:
Object
  Members Description  
  m_sDbPath  
  m_nID  
  m_sTitle  
  m_sSummary  
  m_sContrubutor  
  m_sEmail  
  m_sPublished  
  m_sUpdated  
  m_nVoteNo  
  m_nVoteTotal  
  PageData Constructor

 
  ReadFor Read the page setting information

 
  RatePage Update the hit counters NOTE: Read For MUST becalled befor this integer as string indiicating amount to add to total.

 
  AddComment Add an a comment to thhe comments database linked to the page page info database. Request information

 
  MakeSafeString Remove any funny codes and convert LF into HTML. This is necessary when the user enters data that will be rendered to the display. > and < are removed and LF ar converted to <br>. String to convert String with Gyphs inserted.

 
  GetRatingHtml Build an HTML string depending on the page rating HTML for page rating.

 
  CommentsToHtml Take the comments from the given page and build them into a table for display at the bottom of the page. MUST call ReadFor() before this. Comments for this page.

 
Remarks: