Files
2019-01-22 19:49:58 -05:00

30 lines
520 B
PHP

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