|
|
| setForum ($forumId) |
| |
| | getForum () |
| |
| | isHost () |
| |
|
| setBody ($body) |
| |
|
| getBody () |
| |
|
| setTitle ($title) |
| |
|
| getTitle () |
| |
| | getUser () |
| |
|
| setLocked ($locked=true) |
| |
|
| isLocked () |
| |
| | when () |
| |
| | lastEdit () |
| |
|
|
const | iType = "Post" |
| |
|
const | iShort = "p" |
| |
|
const | iParent = "iForumSystem" |
| |
Returns an entity of the forum this post/thread is in.
| static getRawView |
( |
|
$injections, |
|
|
|
$level = 1 |
|
) |
| |
|
static |
- Returns
- View object with the $injections injected.
Levels:
- 1 normal:
- Rows:
- "title": The post title if any.
- "body": The post body.
- "created": The post create date.
- "lastEdit": When the post was last edited.
- "locked": If the post is locked.
- "user": The id of the user who created this post.
- Injections:
- "action": An area for actions(buttons) to go.
Example:
static protected function getRawView($inj, $level = 1) {
$view = new MyView($inj, $level);
return $view;
}
Returns a UserSystem::User entity instance of the user who created this post/thread
If this post is the thread starter.
Returns a string containing the date this was last edited in mysql timestamp format.
Returns a string containing the date this was created in mysql timestamp format.
The documentation for this interface was generated from the following file: