* Represents a list of acl options.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acl.option
* @category Community Framework
+ *
+ * @method ACLOption current()
+ * @method ACLOption[] getObjects()
+ * @method ACLOption|null search($objectID)
*/
class ACLOptionList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\acl\option\ACLOption';
+ public $className = ACLOption::class;
}
* Represents a list of acl option categories.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acl.option.category
* @category Community Framework
+ *
+ * @method ACLOptionCategory current()
+ * @method ACLOptionCategory[] getObjects()
+ * @method ACLOptionCategory|null search($objectID)
*/
class ACLOptionCategoryList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\acl\option\category\ACLOptionCategory';
+ public $className = ACLOptionCategory::class;
}
* Represents a list of ACP menu items.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acp.menu.item
* @category Community Framework
+ *
+ * @method ACPMenuItem current()
+ * @method ACPMenuItem[] getObjects()
+ * @method ACPMenuItem|null search($objectID)
*/
class ACPMenuItemList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\acp\menu\item\ACPMenuItem';
+ public $className = ACPMenuItem::class;
}
* Represents a list of ACP search providers.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acp.search.provider
* @category Community Framework
+ *
+ * @method ACPSearchProvider current()
+ * @method ACPSearchProvider[] getObjects()
+ * @method ACPSearchProvider|null search($objectID)
*/
class ACPSearchProviderList extends DatabaseObjectList { }
* Represents a list of ACP sessions.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acp.session
* @category Community Framework
+ *
+ * @method ACPSession current()
+ * @method ACPSession[] getObjects()
+ * @method ACPSession|null search($objectID)
*/
class ACPSessionList extends DatabaseObjectList {
/**
* Represents a list of access logs.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acp.session.access.log
* @category Community Framework
+ *
+ * @method ACPSessionAccessLog current()
+ * @method ACPSessionAccessLog[] getObjects()
+ * @method ACPSessionAccessLog|null search($objectID)
*/
class ACPSessionAccessLogList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\acp\session\access\log\ACPSessionAccessLog';
+ public $className = ACPSessionAccessLog::class;
}
* Represents a list of session log entries.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acp.session.log
* @category Community Framework
+ *
+ * @method ACPSessionLog current()
+ * @method ACPSessionLog[] getObjects()
+ * @method ACPSessionLog|null search($objectID)
*/
class ACPSessionLogList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\acp\session\log\ACPSessionLog';
+ public $className = ACPSessionLog::class;
/**
- * @see \wcf\data\DatabaseObjectList::readObjects()
+ * @inheritDoc
*/
public function readObjects() {
if (!empty($this->sqlSelects)) $this->sqlSelects .= ',';
* Represents a list of virtual sessions.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acp.session.virtual
* @category Community Framework
+ *
+ * @method ACPSessionVirtual current()
+ * @method ACPSessionVirtual[] getObjects()
+ * @method ACPSessionVirtual|null search($objectID)
*/
class ACPSessionVirtualList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
public $className = ACPSessionVirtual::class;
}
* Represents a list of ACP templates.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acp.template
* @category Community Framework
+ *
+ * @method ACPTemplate current()
+ * @method ACPTemplate[] getObjects()
+ * @method ACPTemplate|null search($objectID)
*/
class ACPTemplateList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\acp\template\ACPTemplate';
+ public $className = ACPTemplate::class;
}
* Represents a list of ads.
*
* @author Matthias Schmidt
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.ad
* @category Community Framework
+ *
+ * @method Ad current()
+ * @method Ad[] getObjects()
+ * @method Ad|null search($objectID)
*/
class AdList extends DatabaseObjectList { }
* Represents a list of applications.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.application
* @category Community Framework
+ *
+ * @method Application current()
+ * @method Application[] getObjects()
+ * @method Application|null search($objectID)
*/
class ApplicationList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\application\Application';
+ public $className = Application::class;
}
* Represents a list of viewable applications.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.application
* @category Community Framework
+ *
+ * @method ViewableApplication current()
+ * @method ViewableApplication[] getObjects()
+ * @method ViewableApplication|null search($objectID)
*/
class ViewableApplicationList extends ApplicationList {
/**
- * @see \wcf\data\DatabaseObjectList::$decoratorClassName
+ * @inheritDoc
*/
public $decoratorClassName = ViewableApplication::class;
}
* Represents a list of attachments.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.attachment
* @category Community Framework
+ *
+ * @method AdministrativeAttachment current()
+ * @method AdministrativeAttachment[] getObjects()
+ * @method AdministrativeAttachment|null search($objectID)
*/
class AdministrativeAttachmentList extends AttachmentList {
/**
- * @see \wcf\data\DatabaseObjectList::$decoratorClassName
+ * @inheritDoc
*/
- public $decoratorClassName = 'wcf\data\attachment\AdministrativeAttachment';
+ public $decoratorClassName = AdministrativeAttachment::class;
/**
* Creates a new AdministrativeAttachmentList object.
}
/**
- * @see \wcf\data\DatabaseObjectList::readObjects()
+ * @inheritDoc
*/
public function readObjects() {
parent::readObjects();
// cache objects
- $groupedObjectIDs = array();
+ $groupedObjectIDs = [];
foreach ($this->objects as $attachment) {
- if (!isset($groupedObjectIDs[$attachment->objectTypeID])) $groupedObjectIDs[$attachment->objectTypeID] = array();
+ if (!isset($groupedObjectIDs[$attachment->objectTypeID])) $groupedObjectIDs[$attachment->objectTypeID] = [];
$groupedObjectIDs[$attachment->objectTypeID][] = $attachment->objectID;
}
* @return string[]
*/
public function getAvailableFileTypes() {
- $fileTypes = array();
- $sql = "SELECT DISTINCT attachment.fileType
- FROM wcf".WCF_N."_attachment attachment
+ $fileTypes = [];
+ $sql = "SELECT DISTINCT attachment.fileType
+ FROM wcf".WCF_N."_attachment attachment
".$this->getConditionBuilder();
$statement = WCF::getDB()->prepareStatement($sql);
$statement->execute($this->getConditionBuilder()->getParameters());
* Represents a list of attachments.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.attachment
* @category Community Framework
+ *
+ * @method Attachment current()
+ * @method Attachment[] getObjects()
+ * @method Attachment|null search($objectID)
*/
class AttachmentList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\attachment\Attachment';
+ public $className = Attachment::class;
}
* Represents a list of bbcodes.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.bbcode
* @category Community Framework
+ *
+ * @method BBCode current()
+ * @method BBCode[] getObjects()
+ * @method BBCode|null search($objectID)
*/
class BBCodeList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\bbcode\BBCode';
+ public $className = BBCode::class;
}
* Represents a list of bbcode attribute.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.bbcode.attribute
* @category Community Framework
+ *
+ * @method BBCodeAttribute current()
+ * @method BBCodeAttribute[] getObjects()
+ * @method BBCodeAttribute|null search($objectID)
*/
class BBCodeAttributeList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\bbcode\attribute\BBCodeAttribute';
+ public $className = BBCodeAttribute::class;
}
* Represents a list of BBCode media providers.
*
* @author Tim Duesterhus
- * @copyright 2011-2013 Tim Duesterhus
+ * @copyright 2011-2016 Tim Duesterhus
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.bbcode.media.provider
* @category Community Framework
+ *
+ * @method BBCodeMediaProvider current()
+ * @method BBCodeMediaProvider[] getObjects()
+ * @method BBCodeMediaProvider|null search($objectID)
*/
class BBCodeMediaProviderList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\bbcode\media\provider\BBCodeMediaProvider';
+ public $className = BBCodeMediaProvider::class;
}
* Represents a list of boxes.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.box
* @category Community Framework
* @since 2.2
+ *
+ * @method Box current()
+ * @method Box[] getObjects()
+ * @method Box|null search($objectID)
*/
class BoxList extends DatabaseObjectList {
/**
* Represents a list of captcha questions.
*
* @author Matthias Schmidt
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.captcha.question
* @category Community Framework
+ *
+ * @method CaptchaQuestion current()
+ * @method CaptchaQuestion[] getObjects()
+ * @method CaptchaQuestion|null search($objectID)
*/
class CaptchaQuestionList extends DatabaseObjectList { }
* Represents a list of categories.
*
* @author Matthias Schmidt
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.category
* @category Community Framework
+ *
+ * @method Category current()
+ * @method Category[] getObjects()
+ * @method Category|null search($objectID)
*/
class CategoryList extends DatabaseObjectList { }
* Represents a list of clipboard actions.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.clipboard.action
* @category Community Framework
+ *
+ * @method ClipboardAction current()
+ * @method ClipboardAction[] getObjects()
+ * @method ClipboardAction|null search($objectID)
*/
class ClipboardActionList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\clipboard\action\ClipboardAction';
+ public $className = ClipboardAction::class;
}
* Represents a list of comments.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.comment
* @category Community Framework
+ *
+ * @method Comment current()
+ * @method Comment[] getObjects()
+ * @method Comment|null search($objectID)
*/
class CommentList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\comment\Comment';
+ public $className = Comment::class;
}
* @package com.woltlab.wcf
* @subpackage data.comment
* @category Community Framework
+ *
+ * @method StructuredComment current()
+ * @method StructuredComment[] getObjects()
+ * @method StructuredComment|null search($objectID)
*/
class StructuredCommentList extends CommentList {
/**
* @package com.woltlab.wcf
* @subpackage data.comment
* @category Community Framework
+ *
+ * @method ViewableComment current()
+ * @method ViewableComment[] getObjects()
+ * @method ViewableComment|null search($objectID)
*/
class ViewableCommentList extends CommentList {
/**
* @package com.woltlab.wcf
* @subpackage data.comment.response
* @category Community Framework
+ *
+ * @method CommentResponse current()
+ * @method CommentResponse[] getObjects()
+ * @method CommentResponse|null search($objectID)
*/
class CommentResponseList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\comment\response\CommentResponse';
+ public $className = CommentResponse::class;
/**
- * @see \wcf\data\DatabaseObjectList::$sqlOrderBy
+ * @inheritDoc
*/
public $sqlOrderBy = 'comment_response.time ASC';
}
* @package com.woltlab.wcf
* @subpackage data.comment.response
* @category Community Framework
+ *
+ * @method StructuredCommentResponse current()
+ * @method StructuredCommentResponse[] getObjects()
+ * @method StructuredCommentResponse|null search($objectID)
*/
class StructuredCommentResponseList extends CommentResponseList {
/**
* @package com.woltlab.wcf
* @subpackage data.comment.response
* @category Community Framework
+ *
+ * @method ViewableCommentResponse current()
+ * @method ViewableCommentResponse[] getObjects()
+ * @method ViewableCommentResponse|null search($objectID)
*/
class ViewableCommentResponseList extends CommentResponseList {
/**
* Represents a list of conditions.
*
* @author Matthias Schmidt
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.condition
* @category Community Framework
+ *
+ * @method Condition current()
+ * @method Condition[] getObjects()
+ * @method Condition|null search($objectID)
*/
class ConditionList extends DatabaseObjectList { }
* Represents a list of core objects.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.event
* @category Community Framework
+ *
+ * @method CoreObject current()
+ * @method CoreObject[] getObjects()
+ * @method CoreObject|null search($objectID)
*/
class CoreObjectList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\core\object\CoreObject';
+ public $className = CoreObject::class;
}
* Represents a list of cronjobs.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.cronjob
* @category Community Framework
+ *
+ * @method Cronjob current()
+ * @method Cronjob[] getObjects()
+ * @method Cronjob|null search($objectID)
*/
class CronjobList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\cronjob\Cronjob';
+ public $className = Cronjob::class;
}
* Represents a list of cronjob log entries.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.acp.menu.item
* @category Community Framework
+ *
+ * @method CronjobLog current()
+ * @method CronjobLog[] getObjects()
+ * @method CronjobLog|null search($objectID)
*/
class CronjobLogList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\cronjob\log\CronjobLog';
+ public $className = CronjobLog::class;
}
* Represents a list of edit history entries.
*
* @author Tim Duesterhus
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.edit.history.entry
* @category Community Framework
+ *
+ * @method EditHistoryEntry current()
+ * @method EditHistoryEntry[] getObjects()
+ * @method EditHistoryEntry|null search($objectID)
*/
class EditHistoryEntryList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\edit\history\entry\EditHistoryEntry';
+ public $className = EditHistoryEntry::class;
}
* Represents a list of event listener.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.event.listener
* @category Community Framework
+ *
+ * @method EventListener current()
+ * @method EventListener[] getObjects()
+ * @method EventListener|null search($objectID)
*/
class EventListenerList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\event\listener\EventListener';
+ public $className = EventListener::class;
}
* @package com.woltlab.wcf
* @subpackage data.label
* @category Community Framework
+ *
+ * @method Label current()
+ * @method Label[] getObjects()
+ * @method Label|null search($objectID)
*/
class LabelList extends DatabaseObjectList {
/**
* Represents a list of label groups.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.label.group
* @category Community Framework
+ *
+ * @method LabelGroup current()
+ * @method LabelGroup[] getObjects()
+ * @method LabelGroup|null search($objectID)
*/
class LabelGroupList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\label\group\LabelGroup';
+ public $className = LabelGroup::class;
/**
- * @see \wcf\data\DatabaseObjectList::$sqlOrderBy
+ * @inheritDoc
*/
public $sqlOrderBy = 'label_group.showOrder ASC, label_group.groupID';
}
* Represents a list of languages.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.language
* @category Community Framework
+ *
+ * @method Language current()
+ * @method Language[] getObjects()
+ * @method Language|null search($objectID)
*/
class LanguageList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\language\Language';
+ public $className = Language::class;
}
* Represents a list of language categories.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.language.category
* @category Community Framework
+ *
+ * @method LanguageCategory current()
+ * @method LanguageCategory[] getObjects()
+ * @method LanguageCategory|null search($objectID)
*/
class LanguageCategoryList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\language\category\LanguageCategory';
+ public $className = LanguageCategory::class;
}
* Represents a list of language items.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.language.item
* @category Community Framework
+ *
+ * @method LanguageItem current()
+ * @method LanguageItem[] getObjects()
+ * @method LanguageItem|null search($objectID)
*/
class LanguageItemList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\language\item\LanguageItem';
+ public $className = LanguageItem::class;
}
* Represents a list of likes.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.like
* @category Community Framework
+ *
+ * @method Like current()
+ * @method Like[] getObjects()
+ * @method Like|null search($objectID)
*/
class LikeList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\like\Like';
+ public $className = Like::class;
}
* @package com.woltlab.wcf
* @subpackage data.like
* @category Community Framework
+ *
+ * @method ViewableLike current()
+ * @method ViewableLike[] getObjects()
+ * @method ViewableLike|null search($objectID)
*/
class ViewableLikeList extends LikeList {
/**
* Represents a list of like objects.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.like.object
* @category Community Framework
+ *
+ * @method LikeObject current()
+ * @method LikeObject[] getObjects()
+ * @method LikeObject|null search($objectID)
*/
class LikeObjectList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\like\object\LikeObject';
+ public $className = LikeObject::class;
}
* Represents a list of madia files.
*
* @author Matthias Schmidt
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.media
* @category Community Framework
* @since 2.2
+ *
+ * @method Media current()
+ * @method Media[] getObjects()
+ * @method Media|null search($objectID)
*/
class MediaList extends DatabaseObjectList {
/**
* Represents a list of viewable madia files.
*
* @author Matthias Schmidt
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.media
* @category Community Framework
* @since 2.2
+ *
+ * @method ViewableMedia current()
+ * @method ViewableMedia[] getObjects()
+ * @method ViewableMedia|null search($objectID)
*/
class ViewableMediaList extends MediaList {
/**
* @subpackage data.menu
* @category Community Framework
* @since 2.2
+ *
+ * @method Menu current()
+ * @method Menu[] getObjects()
+ * @method Menu|null search($objectID)
*/
class MenuList extends DatabaseObjectList {
/**
* @subpackage data.menu.item
* @category Community Framework
* @since 2.2
+ *
+ * @method MenuItem current()
+ * @method MenuItem[] getObjects()
+ * @method MenuItem|null search($objectID)
*/
class MenuItemList extends DatabaseObjectList {
/**
* Represents a list of moderation queue entries.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.moderation.queue
* @category Community Framework
+ *
+ * @method ModerationQueue current()
+ * @method ModerationQueue[] getObjects()
+ * @method ModerationQueue|null search($objectID)
*/
class ModerationQueueList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\moderation\queue\ModerationQueue';
+ public $className = ModerationQueue::class;
}
* @package com.woltlab.wcf
* @subpackage data.moderation.queue
* @category Community Framework
+ *
+ * @method ViewableModerationQueue current()
+ * @method ViewableModerationQueue[] getObjects()
+ * @method ViewableModerationQueue|null search($objectID)
*/
class ViewableModerationQueueList extends ModerationQueueList {
/**
* Represents a list of modification logs.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.modification.log
* @category Community Framework
+ *
+ * @method ModificationLog current()
+ * @method ModificationLog[] getObjects()
+ * @method ModificationLog|null search($objectID)
*/
class ModificationLogList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\modification\log\ModificationLog';
+ public $className = ModificationLog::class;
}
* Represents a list of notices.
*
* @author Matthias Schmidt
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.notice
* @category Community Framework
+ *
+ * @method Notice current()
+ * @method Notice[] getObjects()
+ * @method Notice|null search($objectID)
*/
class NoticeList extends DatabaseObjectList { }
* Represents a list of object types.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.object.type.definition
* @category Community Framework
+ *
+ * @method ObjectType current()
+ * @method ObjectType[] getObjects()
+ * @method ObjectType|null search($objectID)
*/
class ObjectTypeList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\object\type\ObjectType';
+ public $className = ObjectType::class;
}
* Represents a list of object type definitions.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.object.type.definition
* @category Community Framework
+ *
+ * @method ObjectTypeDefinition current()
+ * @method ObjectTypeDefinition[] getObjects()
+ * @method ObjectTypeDefinition|null search($objectID)
*/
class ObjectTypeDefinitionList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\object\type\definition\ObjectTypeDefinition';
+ public $className = ObjectTypeDefinition::class;
}
* Represents a list of options.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.option
* @category Community Framework
+ *
+ * @method Option current()
+ * @method Option[] getObjects()
+ * @method Option|null search($objectID)
*/
class OptionList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\option\Option';
+ public $className = Option::class;
}
* Represents a list of option categories.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.option.category
* @category Community Framework
+ *
+ * @method OptionCategory current()
+ * @method OptionCategory[] getObjects()
+ * @method OptionCategory|null search($objectID)
*/
class OptionCategoryList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\option\category\OptionCategory';
+ public $className = OptionCategory::class;
}
* Represents a list of packages.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.package
* @category Community Framework
+ *
+ * @method Package current()
+ * @method Package[] getObjects()
+ * @method Package|null search($objectID)
*/
class PackageList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
public $className = 'wcf\data\package\Package';
}
* Represents a list of package installation plugins.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.package.installation.plugin
* @category Community Framework
+ *
+ * @method PackageInstallationPlugin current()
+ * @method PackageInstallationPlugin[] getObjects()
+ * @method PackageInstallationPlugin|null search($objectID)
*/
class PackageInstallationPluginList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\package\installation\plugin\PackageInstallationPlugin';
+ public $className = PackageInstallationPlugin::class;
}
* Represents a list of package installation queues.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.package.installation.queue
* @category Community Framework
+ *
+ * @method PackageInstallationQueue current()
+ * @method PackageInstallationQueue[] getObjects()
+ * @method PackageInstallationQueue|null search($objectID)
*/
class PackageInstallationQueueList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\package\installation\queue\PackageInstallationQueue';
+ public $className = PackageInstallationQueue::class;
}
* Represents a list of package updates.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.package.update
* @category Community Framework
+ *
+ * @method PackageUpdate current()
+ * @method PackageUpdate[] getObjects()
+ * @method PackageUpdate|null search($objectID)
*/
class PackageUpdateList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\package\update\PackageUpdate';
+ public $className = PackageUpdate::class;
/**
- * @see \wcf\data\DatabaseObjectList::__construct()
+ * @inheritDoc
*/
public function __construct($useSqlOr = false) {
parent::__construct();
* Represents a list of package update servers.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.package.update.server
* @category Community Framework
+ *
+ * @method PackageUpdateServer current()
+ * @method PackageUpdateServer[] getObjects()
+ * @method PackageUpdateServer|null search($objectID)
*/
class PackageUpdateServerList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\package\update\server\PackageUpdateServer';
+ public $className = PackageUpdateServer::class;
/**
- * @see \wcf\data\DatabaseObjectList::readObjects()
+ * @inheritDoc
*/
public function readObjects() {
if (!empty($this->sqlSelects)) $this->sqlSelects .= ',';
* Represents a list of package update versions.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.package.update.version
* @category Community Framework
+ *
+ * @method PackageUpdateVersion current()
+ * @method PackageUpdateVersion[] getObjects()
+ * @method PackageUpdateVersion|null search($objectID)
*/
class PackageUpdateVersionList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\package\update\version\PackageUpdateVersion';
+ public $className = PackageUpdateVersion::class;
}
* Represents a list of pages.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.page
* @category Community Framework
* @since 2.2
+ *
+ * @method Page current()
+ * @method Page[] getObjects()
+ * @method Page|null search($objectID)
*/
class PageList extends DatabaseObjectList {
/**
* @inheritDoc
*/
- public $className = 'wcf\data\page\Page';
+ public $className = Page::class;
}
* Represents a list of paid subscriptions.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.paid.subscription
* @category Community Framework
+ *
+ * @method PaidSubscription current()
+ * @method PaidSubscription[] getObjects()
+ * @method PaidSubscription|null search($objectID)
*/
class PaidSubscriptionList extends DatabaseObjectList { }
* Represents a list of paid subscription transaction log entries.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.paid.subscription.transaction.log
* @category Community Framework
+ *
+ * @method PaidSubscriptionTransactionLog current()
+ * @method PaidSubscriptionTransactionLog[] getObjects()
+ * @method PaidSubscriptionTransactionLog|null search($objectID)
*/
class PaidSubscriptionTransactionLogList extends DatabaseObjectList { }
* Represents a list of paid subscription users.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.paid.subscription.user
* @category Community Framework
+ *
+ * @method PaidSubscriptionUser current()
+ * @method PaidSubscriptionUser[] getObjects()
+ * @method PaidSubscriptionUser|null search($objectID)
*/
class PaidSubscriptionUserList extends DatabaseObjectList { }
* Represents a list of polls.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.poll
* @category Community Framework
+ *
+ * @method Poll current()
+ * @method Poll[] getObjects()
+ * @method Poll|null search($objectID)
*/
class PollList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\poll\Poll';
+ public $className = Poll::class;
}
* Represents a list of poll options.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.poll.option
* @category Community Framework
+ *
+ * @method PollOption current()
+ * @method PollOption[] getObjects()
+ * @method PollOption|null search($objectID)
*/
class PollOptionList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\poll\option\PollOption';
+ public $className = PollOption::class;
}
* @package com.woltlab.wcf
* @subpackage data.search
* @category Community Framework
+ *
+ * @method Search current()
+ * @method Search[] getObjects()
+ * @method Search|null search($objectID)
*/
class SearchList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\search\Search';
+ public $className = Search::class;
}
* Represents a list of keywords.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.search.keyword
* @category Community Framework
+ *
+ * @method SearchKeyword current()
+ * @method SearchKeyword[] getObjects()
+ * @method SearchKeyword|null search($objectID)
*/
class SearchKeywordList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\search\keyword\SearchKeyword';
+ public $className = SearchKeyword::class;
}
* Represents a list of sessions.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.session
* @category Community Framework
+ *
+ * @method Session current()
+ * @method Session[] getObjects()
+ * @method Session|null search($objectID)
*/
class SessionList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\session\Session';
+ public $className = Session::class;
}
*
* @see \wcf\data\acp\session\virtual\ACPSessionVirtualList
* @author Tim Duesterhus
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.session.virtual
* @category Community Framework
+ *
+ * @method SessionVirtual current()
+ * @method SessionVirtual[] getObjects()
+ * @method SessionVirtual|null search($objectID)
*/
class SessionVirtualList extends ACPSessionVirtualList {
/**
* Represents a list of sitemap entries.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.sitemap
* @category Community Framework
+ *
+ * @method Sitemap current()
+ * @method Sitemap[] getObjects()
+ * @method Sitemap|null search($objectID)
*/
class SitemapList extends DatabaseObjectList { }
* Represents a list of smilies.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.smiley
* @category Community Framework
+ *
+ * @method Smiley current()
+ * @method Smiley[] getObjects()
+ * @method Smiley|null search($objectID)
*/
class SmileyList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\smiley\Smiley';
+ public $className = Smiley::class;
}
* Represents a list of spiders.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.spider
* @category Community Framework
+ *
+ * @method Spider current()
+ * @method Spider[] getObjects()
+ * @method Spider|null search($objectID)
*/
class SpiderList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\spider\Spider';
+ public $className = Spider::class;
}
* Represents a list of statistic entries.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.stat.daily
* @category Community Framework
+ *
+ * @method StatDaily current()
+ * @method StatDaily[] getObjects()
+ * @method StatDaily|null search($objectID)
*/
class StatDailyList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\stat\daily\StatDaily';
+ public $className = StatDaily::class;
}
* Represents a list of styles.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.style
* @category Community Framework
+ *
+ * @method Style current()
+ * @method Style[] getObjects()
+ * @method Style|null search($objectID)
*/
class StyleList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\style\Style';
+ public $className = Style::class;
}
* Represents a list of style variables.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.style.variable
* @category Community Framework
+ *
+ * @method StyleVariable current()
+ * @method StyleVariable[] getObjects()
+ * @method StyleVariable|null search($objectID)
*/
class StyleVariableList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\style\variable\StyleVariable';
+ public $className = StyleVariable::class;
}
* Represents a list of tags.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.tag
* @category Community Framework
+ *
+ * @method Tag current()
+ * @method Tag[] getObjects()
+ * @method Tag|null search($objectID)
*/
class TagList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\tag\Tag';
+ public $className = Tag::class;
}
* Represents a list of template groups.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.template.group
* @category Community Framework
+ *
+ * @method TemplateGroup current()
+ * @method TemplateGroup[] getObjects()
+ * @method TemplateGroup|null search($objectID)
*/
class TemplateGroupList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\template\group\TemplateGroup';
+ public $className = TemplateGroup::class;
}
* Represents a list of template listener.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.template.listener
* @category Community Framework
+ *
+ * @method TemplateListener current()
+ * @method TemplateListener[] getObjects()
+ * @method TemplateListener|null search($objectID)
*/
class TemplateListenerList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\template\listener\TemplateListener';
+ public $className = TemplateListener::class;
}
* Represents a list of users.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user
* @category Community Framework
+ *
+ * @method User current()
+ * @method User[] getObjects()
+ * @method User|null search($objectID)
*/
class UserList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\user\User';
+ public $className = User::class;
/**
- * @see \wcf\data\DatabaseObjectList::__construct()
+ * @inheritDoc
*/
public function __construct() {
parent::__construct();
* Represents a list of user profiles.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user
* @category Community Framework
+ *
+ * @method UserProfile current()
+ * @method UserProfile[] getObjects()
+ * @method UserProfile|null search($objectID)
*/
class UserProfileList extends UserList {
/**
- * @see \wcf\data\DatabaseObjectList::$sqlOrderBy
+ * @inheritDoc
*/
public $sqlOrderBy = 'user_table.username';
/**
- * @see \wcf\data\DatabaseObjectList::$decoratorClassName
+ * @inheritDoc
*/
- public $decoratorClassName = 'wcf\data\user\UserProfile';
+ public $decoratorClassName = UserProfile::class;
/**
- * @see \wcf\data\DatabaseObjectList::__construct()
+ * @inheritDoc
*/
public function __construct() {
parent::__construct();
}
/**
- * @see \wcf\data\DatabaseObjectList::readObjects()
+ * @inheritDoc
*/
public function readObjects() {
if ($this->objectIDs === null) {
* Represents a list of user activity events.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.activity.event
* @category Community Framework
+ *
+ * @method UserActivityEvent current()
+ * @method UserActivityEvent[] getObjects()
+ * @method UserActivityEvent|null search($objectID)
*/
class UserActivityEventList extends DatabaseObjectList { }
* @package com.woltlab.wcf
* @subpackage data.user.activity.event
* @category Community Framework
+ *
+ * @method ViewableUserActivityEvent current()
+ * @method ViewableUserActivityEvent[] getObjects()
+ * @method ViewableUserActivityEvent|null search($objectID)
*/
class ViewableUserActivityEventList extends UserActivityEventList {
/**
public $className = UserActivityEvent::class;
/**
- * @see \wcf\data\DatabaseObjectList::$decoratorClassName
+ * @inheritDoc
*/
public $decoratorClassName = ViewableUserActivityEvent::class;
* Represents a list of user authentication failures.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.authentication.failure
* @category Community Framework
+ *
+ * @method UserAuthenticationFailure current()
+ * @method UserAuthenticationFailure[] getObjects()
+ * @method UserAuthenticationFailure|null search($objectID)
*/
class UserAuthenticationFailureList extends DatabaseObjectList { }
* Represents a list of avatars.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.avatar
* @category Community Framework
+ *
+ * @method UserAvatar current()
+ * @method UserAvatar[] getObjects()
+ * @method UserAvatar|null search($objectID)
*/
class UserAvatarList extends DatabaseObjectList { }
* Represents a list of followers.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.follow
* @category Community Framework
+ *
+ * @method UserFollow current()
+ * @method UserFollow[] getObjects()
+ * @method UserFollow|null search($objectID)
*/
class UserFollowList extends DatabaseObjectList { }
* Represents a list of followers.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.follow
* @category Community Framework
+ *
+ * @method UserProfile current()
+ * @method UserProfile[] getObjects()
+ * @method UserProfile|null search($objectID)
*/
class UserFollowerList extends UserFollowList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\user\follow\UserFollow';
+ public $className = UserFollow::class;
/**
- * @see \wcf\data\DatabaseObjectList::$decoratorClassName
+ * @inheritDoc
*/
public $decoratorClassName = UserProfile::class;
/**
- * @see \wcf\data\DatabaseObjectList::$objectClassName
+ * @inheritDoc
*/
- public $objectClassName = 'wcf\data\user\User';
+ public $objectClassName = User::class;
/**
- * @see \wcf\data\DatabaseObjectList::$sqlOrderBy
+ * @inheritDoc
*/
public $sqlOrderBy = 'user_follow.time DESC';
/**
- * @see \wcf\data\DatabaseObjectList::__construct()
+ * @inheritDoc
*/
public function __construct() {
parent::__construct();
* Represents a list of user groups.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.group
* @category Community Framework
+ *
+ * @method UserGroup current()
+ * @method UserGroup[] getObjects()
+ * @method UserGroup|null search($objectID)
*/
class UserGroupList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\user\group\UserGroup';
+ public $className = UserGroup::class;
}
* Represents a list of user group assignments.
*
* @author Matthias Schmidt
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.group.assignment
* @category Community Framework
+ *
+ * @method UserGroupAssignment current()
+ * @method UserGroupAssignment[] getObjects()
+ * @method UserGroupAssignment|null search($objectID)
*/
class UserGroupAssignmentList extends DatabaseObjectList { }
* Represents a list of user group options.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.group.option
* @category Community Framework
+ *
+ * @method UserGroupOption current()
+ * @method UserGroupOption[] getObjects()
+ * @method UserGroupOption|null search($objectID)
*/
class UserGroupOptionList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\user\group\option\UserGroupOption';
+ public $className = UserGroupOption::class;
}
* Represents a list of user group option categories.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.group.option.category
* @category Community Framework
+ *
+ * @method UserGroupOptionCategory current()
+ * @method UserGroupOptionCategory[] getObjects()
+ * @method UserGroupOptionCategory|null search($objectID)
*/
class UserGroupOptionCategoryList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\user\group\option\category\UserGroupOptionCategory';
+ public $className = UserGroupOptionCategory::class;
}
* Represents a list of ignored users.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.ignore
* @category Community Framework
+ *
+ * @method UserIgnore current()
+ * @method UserIgnore[] getObjects()
+ * @method UserIgnore|null search($objectID)
*/
class UserIgnoreList extends DatabaseObjectList { }
* Represents a list of user menu items.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.menu.item
* @category Community Framework
+ *
+ * @method UserMenuItem current()
+ * @method UserMenuItem[] getObjects()
+ * @method UserMenuItem|null search($objectID)
*/
class UserMenuItemList extends DatabaseObjectList { }
* Represents a list of user notifications.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.notification
* @category Community Framework
+ *
+ * @method UserNotification current()
+ * @method UserNotification[] getObjects()
+ * @method UserNotification|null search($objectID)
*/
class UserNotificationList extends DatabaseObjectList { }
* @package com.woltlab.wcf
* @subpackage data.user.notification.event
* @category Community Framework
+ *
+ * @method UserNotificationEvent current()
+ * @method UserNotificationEvent[] getObjects()
+ * @method UserNotificationEvent|null search($objectID)
*/
class UserNotificationEventList extends DatabaseObjectList { }
* @package com.woltlab.wcf
* @subpackage data.user.object.watch
* @category Community Framework
+ *
+ * @method UserObjectWatch current()
+ * @method UserObjectWatch[] getObjects()
+ * @method UserObjectWatch|null search($objectID)
*/
class UserObjectWatchList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\user\object\watch\UserObjectWatch';
+ public $className = UserObjectWatch::class;
}
* Represents a list of currently online users.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.online
* @category Community Framework
+ *
+ * @method UsersOnline current()
+ * @method UsersOnline[] getObjects()
+ * @method UsersOnline|null search($objectID)
*/
class UsersOnlineList extends SessionList {
/**
- * @see \wcf\data\DatabaseObjectList::$sqlOrderBy
+ * @inheritDoc
*/
public $sqlOrderBy = 'user_table.username';
public $usersOnlineMarkings = null;
/**
- * @see \wcf\data\DatabaseObjectList::__construct()
+ * @inheritDoc
*/
public function __construct() {
parent::__construct();
}
/**
- * @see \wcf\data\DatabaseObjectList::readObjects()
+ * @inheritDoc
*/
public function readObjects() {
parent::readObjects();
* Represents a list of user options.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.option
* @category Community Framework
+ *
+ * @method UserOption current()
+ * @method UserOption[] getObjects()
+ * @method UserOption|null search($objectID)
*/
class UserOptionList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\user\option\UserOption';
+ public $className = UserOption::class;
}
* Represents an list of user option categories.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.option.category
* @category Community Framework
+ *
+ * @method UserOptionCategory current()
+ * @method UserOptionCategory[] getObjects()
+ * @method UserOptionCategory|null search($objectID)
*/
class UserOptionCategoryList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$className
+ * @inheritDoc
*/
- public $className = 'wcf\data\user\option\category\UserOptionCategory';
+ public $className = UserOptionCategory::class;
}
* Represents a list of user profile menu items.
*
* @author Alexander Ebert
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.profile.menu.item
* @category Community Framework
+ *
+ * @method UserProfileMenuItem current()
+ * @method UserProfileMenuItem[] getObjects()
+ * @method UserProfileMenuItem|null search($objectID)
*/
class UserProfileMenuItemList extends DatabaseObjectList { }
<?php
namespace wcf\data\user\profile\visitor;
+use wcf\data\user\User;
+use wcf\data\user\UserProfile;
use wcf\data\DatabaseObjectList;
/**
* Represents a list of profile visitors.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.profile.visitor
* @category Community Framework
+ *
+ * @method UserProfile current()
+ * @method UserProfile[] getObjects()
+ * @method UserProfile|null search($objectID)
*/
class UserProfileVisitorList extends DatabaseObjectList {
/**
- * @see \wcf\data\DatabaseObjectList::$decoratorClassName
+ * @inheritDoc
*/
- public $decoratorClassName = 'wcf\data\user\UserProfile';
+ public $decoratorClassName = UserProfile::class;
/**
- * @see \wcf\data\DatabaseObjectList::$objectClassName
+ * @inheritDoc
*/
- public $objectClassName = 'wcf\data\user\User';
+ public $objectClassName = User::class;
/**
- * @see \wcf\data\DatabaseObjectList::$sqlOrderBy
+ * @inheritDoc
*/
public $sqlOrderBy = 'user_profile_visitor.time DESC';
/**
- * @see \wcf\data\DatabaseObjectList::__construct()
+ * @inheritDoc
*/
public function __construct() {
parent::__construct();
* Represents a list of user ranks.
*
* @author Marcel Werk
- * @copyright 2001-2015 WoltLab GmbH
+ * @copyright 2001-2016 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage data.user.rank
* @category Community Framework
+ *
+ * @method UserRank current()
+ * @method UserRank[] getObjects()
+ * @method UserRank|null search($objectID)
*/
class UserRankList extends DatabaseObjectList { }