# Class Opencart\System\Library\Document

Class Document

Located at system\library\document.php

Methods
`public` | `setTitle(string $title): void` setTitle setTitle | #
`public` | `getTitle(): string` getTitle getTitle | #
`public` | `setDescription(string $description): void` setDescription setDescription | #
`public` | `getDescription(): string` getDescription getDescription | #
`public` | `setKeywords(string $keywords): void` setKeywords setKeywords | #
`public` | `getKeywords(): string` getKeywords getKeywords | #
`public` | `addLink(string $href, string $rel): void` addLink addLink | #
`public` | `getLinks(): array<string, array<string, string>>` getLinks getLinks | #
`public` | `addStyle(string $href, string $rel = 'stylesheet', string $media = 'screen'): void` addStyle addStyle | #
`public` | `getStyles(): array<string, array<string, string>>` getStyles getStyles | #
`public` | `addScript(string $href, string $position = 'header'): void` addScript addScript | #
`public` | `getScripts(string $position = 'header'): array<string, array<string, string>>` getScripts getScripts | #

OpenCart API API documentation generated by ApiGen dev-master