Files
scummvm-web/include/Objects/WebLink.php
T
Thunderforge e0c85807b6 DATA: Restoring extra info on downloads page
This involved renaming the spreadsheet column from "Description" to "Notes"
2022-01-17 20:55:39 +01:00

37 lines
652 B
PHP

<?php
namespace ScummVM\Objects;
/**
* The WebLink class represents a link item on the website.
*/
class WebLink extends BasicObject
{
private $notes;
private $url;
/* WebLink object constructor. */
public function __construct($data)
{
parent::__construct($data);
$this->notes = $data['notes'];
$this->url = $data['url'];
}
public function getNotes()
{
return $this->notes;
}
/* Get the URL of the link. */
public function getURL()
{
return $this->url;
}
/* Get the user-agent. */
public function getUserAgent()
{
return "";
}
}