2018-08-16 22:30:59 +00:00
|
|
|
<?php
|
2022-03-04 17:10:24 +00:00
|
|
|
|
2018-08-16 22:30:59 +00:00
|
|
|
/*
|
2022-03-04 17:10:24 +00:00
|
|
|
* Copyright (c) 2010-2022 Tim Düsterhus.
|
2018-08-16 22:30:59 +00:00
|
|
|
*
|
|
|
|
* Use of this software is governed by the Business Source License
|
|
|
|
* included in the LICENSE file.
|
|
|
|
*
|
2023-02-22 16:45:50 +00:00
|
|
|
* Change Date: 2027-02-22
|
2018-08-16 22:30:59 +00:00
|
|
|
*
|
|
|
|
* On the date above, in accordance with the Business Source
|
|
|
|
* License, use of this software will be governed by version 2
|
|
|
|
* or later of the General Public License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace chat\data\room;
|
|
|
|
|
2022-03-04 17:10:24 +00:00
|
|
|
use wcf\data\DatabaseObjectList;
|
|
|
|
|
2018-08-16 22:30:59 +00:00
|
|
|
/**
|
|
|
|
* Represents a list of chat rooms.
|
2022-03-04 18:47:32 +00:00
|
|
|
*
|
|
|
|
* @method Room current()
|
|
|
|
* @method Room[] getObjects()
|
|
|
|
* @method Room|null getSingleObject()
|
|
|
|
* @method Room|null search($objectID)
|
|
|
|
* @property Room[] $objects
|
2018-08-16 22:30:59 +00:00
|
|
|
*/
|
2022-03-04 17:10:24 +00:00
|
|
|
class RoomList extends DatabaseObjectList
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @inheritDoc
|
|
|
|
*/
|
|
|
|
public $sqlOrderBy = 'position';
|
2018-08-16 22:30:59 +00:00
|
|
|
}
|