Commit | Line | Data |
---|---|---|
3b75466f MW |
1 | <?php |
2 | namespace wcf\data\label; | |
3 | use wcf\data\DatabaseObjectList; | |
4 | ||
5 | /** | |
6 | * Represents a list of labels. | |
7 | * | |
8 | * @author Alexander Ebert | |
c839bd49 | 9 | * @copyright 2001-2018 WoltLab GmbH |
3b75466f | 10 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> |
e71525e4 | 11 | * @package WoltLabSuite\Core\Data\Label |
e82bf444 MS |
12 | * |
13 | * @method Label current() | |
14 | * @method Label[] getObjects() | |
15 | * @method Label|null search($objectID) | |
81952e86 | 16 | * @property Label[] $objects |
3b75466f MW |
17 | */ |
18 | class LabelList extends DatabaseObjectList { | |
19 | /** | |
d8475f48 | 20 | * @inheritDoc |
3b75466f | 21 | */ |
d8475f48 MS |
22 | public $className = Label::class; |
23 | ||
24 | /** | |
25 | * @inheritDoc | |
26 | */ | |
27 | public $sqlOrderBy = 'label.showOrder ASC, label.labelID ASC'; | |
3b75466f | 28 | } |