name = $data['name']; $this->url = $data['url']; $this->description = $data['description']; } /* Get the name of the link. */ public function getName() { return $this->name; } /* Get the URL of the link. */ public function getURL() { return $this->url; } /* Get the description of the link. */ public function getDescription() { return $this->description; } /* Get the user-agent. */ public function getUserAgent() { return ""; } }