Add @method documentation for DBO actions
authorMatthias Schmidt <gravatronics@live.com>
Sun, 22 May 2016 09:04:04 +0000 (11:04 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 22 May 2016 09:04:04 +0000 (11:04 +0200)
files/lib/data/conversation/ConversationAction.class.php
files/lib/data/conversation/label/ConversationLabelAction.class.php
files/lib/data/conversation/message/ConversationMessageAction.class.php

index 371077237810e88afb2e5b3953d5fcb845c1b545..1f3b2b6b58a801f09a4c82302b4e93cc0e315cb6 100644 (file)
@@ -28,6 +28,9 @@ use wcf\system\WCF;
  * @package    com.woltlab.wcf.conversation
  * @subpackage data.conversation
  * @category   Community Framework
+ * 
+ * @method     ConversationEditor[]    getObjects()
+ * @method     ConversationEditor      getSingleObject()
  */
 class ConversationAction extends AbstractDatabaseObjectAction implements IClipboardAction, IVisitableObjectAction {
        /**
@@ -49,6 +52,7 @@ class ConversationAction extends AbstractDatabaseObjectAction implements IClipbo
        
        /**
         * @inheritDoc
+        * @return      Conversation
         */
        public function create() {
                // create conversation
index edf43600e1a68a5216edc4daa249b3c61b2062a5..d792819ba3abf74fddd59ae171abb18de36146c8 100644 (file)
@@ -20,6 +20,10 @@ use wcf\util\StringUtil;
  * @package    com.woltlab.wcf.conversation
  * @subpackage data.conversation.label
  * @category   Community Framework
+ * 
+ * @method     ConversationLabel               create()
+ * @method     ConversationLabelEditor[]       getObjects()
+ * @method     ConversationLabelEditor         getSingleObject()
  */
 class ConversationLabelAction extends AbstractDatabaseObjectAction {
        /**
index dc2d1be4d6f9e8d1be162a0bd833e9948cf69575..6bbb2ef1cd58b14342be5b2a518290259b939e7b 100644 (file)
@@ -38,6 +38,9 @@ use wcf\util\StringUtil;
  * @package    com.woltlab.wcf.conversation
  * @subpackage data.conversation.message
  * @category   Community Framework
+ * 
+ * @method     ConversationMessageEditor[]     getObjects()
+ * @method     ConversationMessageEditor       getSingleObject()
  */
 class ConversationMessageAction extends AbstractDatabaseObjectAction implements IAttachmentMessageQuickReplyAction, IMessageInlineEditorAction, IMessageQuoteAction {
        /**
@@ -59,6 +62,7 @@ class ConversationMessageAction extends AbstractDatabaseObjectAction implements
        
        /**
         * @inheritDoc
+        * @return      ConversationMessage
         */
        public function create() {
                // count attachments