uawdijnntqw1x1x1
IP : 3.133.142.42
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
.
/
www
/
..
/
.
/
.trash
/
system.1
/
library
/
document.php
/
/
<?php /** * @package OpenCart * @author Daniel Kerr * @copyright Copyright (c) 2005 - 2017, OpenCart, Ltd. (https://www.opencart.com/) * @license https://opensource.org/licenses/GPL-3.0 * @link https://www.opencart.com */ /** * Document class */ namespace Opencart\System\Library; class Document { private string $title = ''; private string $description = ''; private string $keywords = ''; private array $links = []; private array $styles = []; private array $scripts = []; /** * * * @param string $title */ public function setTitle(string $title): void { $this->title = $title; } /** * * * @return string */ public function getTitle(): string { return $this->title; } /** * * * @param string $description */ public function setDescription(string $description): void { $this->description = $description; } /** * * * @param string $description * * @return string */ public function getDescription(): string { return $this->description; } /** * * * @param string $keywords */ public function setKeywords(string $keywords): void { $this->keywords = $keywords; } /** * * * @return string */ public function getKeywords(): string { return $this->keywords; } /** * * * @param string $href * @param string $rel */ public function addLink(string $href, string $rel): void { $this->links[$href] = [ 'href' => $href, 'rel' => $rel ]; } /** * * * @return array */ public function getLinks() { return $this->links; } /** * * * @param string $href * @param string $rel * @param string $media */ public function addStyle(string $href, $rel = 'stylesheet', $media = 'screen'): void { $this->styles[$href] = [ 'href' => $href, 'rel' => $rel, 'media' => $media ]; } /** * * * @return array */ public function getStyles(): array { return $this->styles; } /** * * * @param string $href * @param string $position */ public function addScript(string $href, $position = 'header'): void { $this->scripts[$position][$href] = $href; } /** * * * @param string $position * * @return array */ public function getScripts($position = 'header'): array { if (isset($this->scripts[$position])) { return $this->scripts[$position]; } else { return []; } } }
/home/sudancam/./www/.././.trash/system.1/library/document.php