mirror of
https://github.com/scummvm/scummvm-web.git
synced 2026-05-21 05:40:47 +00:00
e0c85807b6
This involved renaming the spreadsheet column from "Description" to "Notes"
37 lines
652 B
PHP
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 "";
|
|
}
|
|
}
|