com.woltlab.wcf.user.guestbook.data.user.guestbook
Represents a guestbook entry.
DatabaseObject | --UserGuestbookEntry
| Class | Description |
|---|---|
UserGuestbookEntryEditor |
Provides functions to edit or delete guestbook entries. |
ViewableUserGuestbookEntry |
Represents a viewable guestbook entry. |
| Return | Name |
|---|---|
UserGuestbookEntry |
__construct(integer $entryID, [array<mixed> $row = null])
|
boolean |
commentIsDeletable()
|
boolean |
commentIsEditable()
|
integer |
commentIsQuoted()
|
boolean |
isCommentable()
|
boolean |
isDeletable()
|
boolean |
isEditable()
|
integer |
isQuoted()
|
public UserGuestbookEntry __construct(integer $entryID, [array<mixed> $row = null])
Creates a new UserGuestbookEntry object.
$entryID $row Redefinition of: DatabaseObject::__construct()
Redefined in descendants as: ViewableUserGuestbookEntry::__construct()
public boolean commentIsDeletable()
Returns true, if the active user can delete the comment of this entry.
public boolean commentIsEditable()
Returns true, if the active user can edit the comment of this entry.
public integer commentIsQuoted()
Returns the number of quotes of this entry comment.
public boolean isCommentable()
Returns true, if the active user can comment this entry.
public boolean isDeletable()
Returns true, if the active user can delete this entry.
public boolean isEditable()
Returns true, if the active user can edit this entry.
public integer isQuoted()
Returns the number of quotes of this entry.
DatabaseObject::__construct(), DatabaseObject::handleData(), DatabaseObject::sort(), DatabaseObject::__get()