Represents a post and offers methods to operate on it
| Add | Add a new post to the database |
| Change | Update a post in the database |
| Count | Count posts mathing the query |
| Find | Find first post. Loads post into this object |
| FindNext | Find next post from previous search |
| GetAttachDLCount | Get this object's attachment download count |
| GetAttachFile | Get this object's attached filename (as stored here) |
| GetAttachFileName | Get this object's attachment display name (original filename) |
| GetDate | Get this object's post timestamp |
| GetEditCount | Get this object's edit count value |
| GetEditDate | Get this object's last edit timestamp |
| GetEditReason | Get this object's edit reason |
| GetEditUser | Get this object's last edit user id |
| GetHostname | Get this object's sender hostname |
| GetID | Get this object's post id |
| GetIP | Get this object's sender IP address |
| GetMsg | Get this object's post content |
| GetOptions | Get this object's post options/flags |
| GetReplyTo | Get this object's reply-to post id |
| GetSpamRating | Get this object's post spam rating index |
| GetSubject | Get this object's post subject |
| GetThread | Get this object's thread id |
| GetUser | Get this object's author user id |
| GetUserName | Get this object's author user name |
| IPost | No description available. |
| IncDLCount | Increase this post's attachment download counter |
| Load | Load a post into this object |
| LoadFromRecord |
Load a post from a given record into this object. Can load results from array find functions. |
| Remove | Remove a post |
| Reset | No description available. |
| SetAttachFile | Set the post's attachment file |
| SetReplyTo | Set reply-to post id |
| SetThreadArray | Move a set of posts to another thread |
| SetUser | Set author user id |
Implementation file: unb_lib/post.lib.php, line 18
© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.