3 namespace wcf\data\unfurl\url
;
5 use wcf\data\DatabaseObjectList
;
8 * Represents a list of unfurled urls.
10 * @author Joshua Ruesweg
11 * @copyright 2001-2021 WoltLab GmbH
12 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
13 * @package WoltLabSuite\Core\Data\Unfurl\Url
16 * @method UnfurlUrl current()
17 * @method UnfurlUrl[] getObjects()
18 * @method UnfurlUrl|null getSingleObject()
19 * @method UnfurlUrl|null seach($objectID)
20 * @property UnfurlUrl[] $objects
22 class UnfurlUrlList
extends DatabaseObjectList
27 public function __construct()
29 parent
::__construct();
31 if (!empty($this->sqlSelects
)) {
32 $this->sqlSelects
.= ',';
34 $this->sqlSelects
.= "unfurl_url_image.*";
36 LEFT JOIN wcf" . WCF_N
. "_unfurl_url_image unfurl_url_image
37 ON unfurl_url_image.imageID = unfurl_url.imageID";