/**
* @inheritDoc
*/
- protected static $baseClass = 'wcf\data\conversation\Conversation';
+ protected static $baseClass = Conversation::class;
/**
* @inheritDoc
/**
* @inheritDoc
*/
- protected $className = 'wcf\data\conversation\label\ConversationLabelEditor';
+ protected $className = ConversationLabelEditor::class;
/**
* @inheritDoc
/**
* @inheritDoc
*/
- protected $className = 'wcf\data\conversation\message\ConversationMessageEditor';
+ protected $className = ConversationMessageEditor::class;
/**
* conversation object
*/
public function validateQuickReply() {
QuickReplyManager::getInstance()->setAllowedBBCodes(explode(',', WCF::getSession()->getPermission('user.message.allowedBBCodes')));
- QuickReplyManager::getInstance()->validateParameters($this, $this->parameters, 'wcf\data\conversation\Conversation');
+ QuickReplyManager::getInstance()->validateParameters($this, $this->parameters, Conversation::class);
}
/**
return QuickReplyManager::getInstance()->createMessage(
$this,
$this->parameters,
- 'wcf\data\conversation\ConversationAction',
+ ConversationAction::class,
CONVERSATION_LIST_DEFAULT_SORT_ORDER,
'conversationMessageList'
);
namespace wcf\system\clipboard\action;
use wcf\data\clipboard\action\ClipboardAction;
use wcf\data\conversation\Conversation;
+use wcf\data\conversation\ConversationAction;
use wcf\system\database\util\PreparedStatementConditionBuilder;
use wcf\system\WCF;
* @inheritDoc
*/
public function getClassName() {
- return 'wcf\data\conversation\ConversationAction';
+ return ConversationAction::class;
}
/**
/**
* @inheritDoc
*/
- protected $className = 'wcf\data\conversation\Conversation';
+ protected $className = Conversation::class;
/**
* @inheritDoc
<?php
namespace wcf\system\importer;
+use wcf\data\conversation\label\ConversationLabel;
use wcf\data\conversation\label\ConversationLabelAction;
/**
/**
* @inheritDoc
*/
- protected $className = 'wcf\data\conversation\label\ConversationLabel';
+ protected $className = ConversationLabel::class;
/**
* @inheritDoc
/**
* @inheritDoc
*/
- protected $className = 'wcf\data\conversation\message\ConversationMessage';
+ protected $className = ConversationMessage::class;
/**
* @inheritDoc
/**
* @inheritDoc
*/
- protected $className = 'wcf\data\conversation\message\ConversationMessage';
+ protected $className = ConversationMessage::class;
/**
* @inheritDoc
<?php
namespace wcf\system\user\notification\object\type;
+use wcf\data\conversation\message\ConversationMessage;
+use wcf\data\conversation\message\ConversationMessageList;
+use wcf\system\user\notification\object\ConversationMessageUserNotificationObject;
/**
* Represents a conversation message notification object type.
/**
* @inheritDoc
*/
- protected static $decoratorClassName = 'wcf\system\user\notification\object\ConversationMessageUserNotificationObject';
+ protected static $decoratorClassName = ConversationMessageUserNotificationObject::class;
/**
* @inheritDoc
*/
- protected static $objectClassName = 'wcf\data\conversation\message\ConversationMessage';
+ protected static $objectClassName = ConversationMessage::class;
/**
* @inheritDoc
*/
- protected static $objectListClassName = 'wcf\data\conversation\message\ConversationMessageList';
+ protected static $objectListClassName = ConversationMessageList::class;
}
<?php
namespace wcf\system\user\notification\object\type;
use wcf\data\conversation\Conversation;
+use wcf\data\conversation\ConversationList;
+use wcf\system\user\notification\object\ConversationUserNotificationObject;
use wcf\system\WCF;
/**
/**
* @inheritDoc
*/
- protected static $decoratorClassName = 'wcf\system\user\notification\object\ConversationUserNotificationObject';
+ protected static $decoratorClassName = ConversationUserNotificationObject::class;
/**
* @inheritDoc
*/
- protected static $objectClassName = 'wcf\data\conversation\Conversation';
+ protected static $objectClassName = Conversation::class;
/**
* @inheritDoc
*/
- protected static $objectListClassName = 'wcf\data\conversation\ConversationList';
+ protected static $objectListClassName = ConversationList::class;
/**
* @inheritDoc