*/
protected $conversationData = [];
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
* @return Conversation
$this->sqlJoins .= " LEFT JOIN wcf".WCF_N."_conversation_to_user conversation_to_user ON (conversation_to_user.participantID = user_table.userID AND conversation_to_user.conversationID = ".$conversationID.")";
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return $row['count'];
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
*/
public $sqlOrderBy = 'conversation.lastPostTime DESC';
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
use wcf\system\database\util\PreparedStatementConditionBuilder;
use wcf\system\WCF;
+/** @noinspection PhpMissingParentCallCommonInspection */
+/** @noinspection PhpMissingParentCallCommonInspection */
+/** @noinspection PhpMissingParentCallCommonInspection */
+/** @noinspection PhpMissingParentCallCommonInspection */
+
/**
* Represents a viewable conversation.
*
*/
public $conversation = null;
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* Returns the conversation object.
*
return $this->conversation;
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return $this->getDecoratedObject()->getLink();
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
$this->getConditionBuilder()->add('modification_log.objectID = ?', [$conversationID]);
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
MessageQuoteManager::getInstance()->readFormParameters();
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
- protected function validateSubject() {}
+ protected function validateSubject() {
+ // does nothing
+ }
/**
* @inheritDoc
*/
public $isFirstMessage = false;
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
if ($this->isFirstMessage) parent::validateSubject();
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
exit;
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
if (isset($_REQUEST['participants'])) $this->participants = ArrayUtil::trim(explode(',', $_REQUEST['participants']));
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
* @method ConversationMessage getObject($objectID)
*/
class ConversationMessageAttachmentObjectType extends AbstractAttachmentObjectType {
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return WCF::getSession()->getPermission('user.conversation.maxAttachmentSize');
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return ArrayUtil::trim(explode("\n", WCF::getSession()->getPermission('user.conversation.allowedAttachmentExtensions')));
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
}
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
*/
protected $listClassName = UserConversationList::class;
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
* @since 2.2
*/
class ConversationListPageHandler extends AbstractMenuPageHandler {
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return ConversationHandler::getInstance()->getUnreadConversationCount();
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
}
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return null;
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return $this->getTableName().'.messageID';
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return 'conversation.subject';
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return $conditionBuilder;
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return (WCF::getUser()->userID ? true : false);
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
]);
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
], '#message'.$this->getUserNotificationObject()->messageID);
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return sha1($this->eventID . '-' . $this->getUserNotificationObject()->conversationID);
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
]);
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
return LinkHandler::getInstance()->getLink('Conversation', ['object' => $this->userNotificationObject]);
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
*/
protected static $objectListClassName = ConversationList::class;
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
*/
protected $limit = 500;
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
}
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
*/
protected $limit = 100;
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/
}
}
+ /** @noinspection PhpMissingParentCallCommonInspection */
/**
* @inheritDoc
*/