/**
* true if the current user can add users without limitations
- * @var boolean
+ * @var bool
*/
protected $canAddUnrestricted;
/**
* true if the current user is an active participant of this conversation
- * @var boolean
+ * @var bool
*/
protected $isActiveParticipant;
/**
* Returns true if this conversation is new for the active user.
*
- * @return boolean
+ * @return bool
*/
public function isNew()
{
* Returns true if the active user doesn't have read the given message.
*
* @param ConversationMessage $message
- * @return boolean
+ * @return bool
*/
public function isNewMessage(ConversationMessage $message)
{
/**
* Returns true if the conversation is not closed or the user was not removed.
*
- * @return boolean
+ * @return bool
*/
public function canReply()
{
/**
* Returns true if the active user has the permission to read this conversation.
*
- * @return boolean
+ * @return bool
*/
public function canRead()
{
/**
* Returns true if the current user can add new participants to this conversation.
*
- * @return boolean
+ * @return bool
*/
public function canAddParticipants()
{
/**
* Returns true if the current user can add participants without limitations.
*
- * @return boolean
+ * @return bool
*/
public function canAddParticipantsUnrestricted()
{
/**
* Returns a list of the ids of all participants.
*
- * @param boolean $excludeLeftParticipants
+ * @param bool $excludeLeftParticipants
* @return int[]
*/
public function getParticipantIDs($excludeLeftParticipants = false)
/**
* Returns a list of the usernames of all participants.
*
- * @param boolean $excludeSelf
- * @param boolean $leftByOwnChoice
+ * @param bool $excludeSelf
+ * @param bool $leftByOwnChoice
* @return string[]
*/
public function getParticipantNames($excludeSelf = false, $leftByOwnChoice = false)
/**
* Returns false if the active user is the last participant of this conversation.
*
- * @return boolean
+ * @return bool
*/
public function hasOtherParticipants()
{
/**
* Returns true if the current user is an active participant of this conversation.
*
- * @return boolean
+ * @return bool
*/
public function isActiveParticipant()
{
*
* @param int[] $conversationIDs
* @param int $userID
- * @return boolean
+ * @return bool
*/
public static function isParticipant(array $conversationIDs, $userID = null)
{
/**
* enables/disables the loading of attachments
- * @var boolean
+ * @var bool
*/
protected $attachmentLoading = true;
/**
* enables/disables the loading of embedded objects
- * @var boolean
+ * @var bool
*/
protected $embeddedObjectLoading = true;
/**
* Enables/disables the loading of attachments.
*
- * @param boolean $enable
+ * @param bool $enable
*/
public function enableAttachmentLoading($enable = true)
{
/**
* Enables/disables the loading of embedded objects.
*
- * @param boolean $enable
+ * @param bool $enable
*/
public function enableEmbeddedObjectLoading($enable = true)
{