This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Model_UserPrivateMessage

An object representing a private message sent to a user

Concrete5_Library_Object
Extended by Object
Extended by Concrete5_Model_UserPrivateMessage

Direct known subclasses

UserPrivateMessage

Package: Users
Category: Concrete
Copyright: Copyright (c) 2003-2009 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Andrew Embler andrew@concrete5.org
Located at core/models/user_private_message.php

Methods summary

public
public static
# getByID( $msgID, $mailbox = false )
public
public
public
public
public
public
public
public
public
# getFormattedMessageBody( )

Responsible for converting line breaks to br tags, perhaps running bbcode, as well as making the older replied-to messages gray

public
# delete( )
public
public
public
public
# getMessageDateAdded( $type = 'system', $mask = false )
public
public
public

Properties summary

protected boolean $authorName
# false
protected $mailbox
#

Properties inherited from Concrete5_Library_Object

$error