\GuestbookEntry
Represents each entry in a guestbook.
Synopsis
class GuestbookEntry
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static string $default_sort = 'Date DESC';
- private static array $searchable_fields = ;
- private static array $summary_fields = ;
- // methods
- public static array Smileys()
- public static GuestbookEntry create()
- public string FormattedMessage()
- public string FormattedComment()
- public string FormattedText()
- public type ReplaceSmileys()
- public void getCMSFields()
- public void EditLink()
- public void EmailURL()
- public void fieldLabels()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $default_sort
- $has_one
- $searchable_fields
- $summary_fields
Methods
public
- EditLink()
- EmailURL()
- FormattedComment() — Gets the comment where smileys have been replaced with images.
- FormattedMessage() — Gets the message where smileys have been replaced with images.
- FormattedText() — Formats text so it can be displayed as raw HTML. Also replaces smileys with images.
- ReplaceSmileys() — Replace smiley symbols with images.
- Smileys()
- create() — Creates a guestbook entry with default values.
- fieldLabels()
- getCMSFields()