Class ViewableUserGuestbookEntry

com.woltlab.wcf.user.guestbook.data.user.guestbook

Description

Represents a viewable guestbook entry.

  • author: Marcel Werk
  • copyright: 2001-2009 WoltLab GmbH
  • license: WoltLab
DatabaseObject
   |
   --UserGuestbookEntry
      |
      --ViewableUserGuestbookEntry

Direct descendents

Class Description
UserGuestbookEntryWarningObject An implementation of WarningObject to support the usage of a guestbook entries as a warning object.

Variable Summary

Type Name
UserProfile $user

Method Summary

Return Name
ViewableUserGuestbookEntry __construct(integer $entryID, [mixed $row = null])
string getExcerpt()
string getFormattedComment()
string getFormattedMessage()
UserProfile getUser()
void handleData( $data)

Variables

$user

protected UserProfile $user = null

user object


Inherited variables from DatabaseObject

DatabaseObject::$data

Methods

__construct

public ViewableUserGuestbookEntry __construct(integer $entryID, [mixed $row = null])

Creates a new ViewableUserGuestbookEntry object.

Parameters:

  • $entryID
  • $row

Redefinition of: UserGuestbookEntry::__construct()


getExcerpt

public string getExcerpt()

Returns an excerpt of the message.


getFormattedComment

public string getFormattedComment()

Returns the formatted comment.


getFormattedMessage

public string getFormattedMessage()

Returns the formatted message.


getUser

public UserProfile getUser()

Returns the user object.


handleData

protected void handleData( $data)

Parameters:

  • $data

Redefinition of: DatabaseObject::handleData()


Inherited methods from UserGuestbookEntry

UserGuestbookEntry::__construct(), UserGuestbookEntry::commentIsDeletable(), UserGuestbookEntry::commentIsEditable(), UserGuestbookEntry::commentIsQuoted(), UserGuestbookEntry::isCommentable(), UserGuestbookEntry::isDeletable(), UserGuestbookEntry::isEditable(), UserGuestbookEntry::isQuoted()


Inherited methods from DatabaseObject

DatabaseObject::__construct(), DatabaseObject::handleData(), DatabaseObject::sort(), DatabaseObject::__get()