Back to Opencart

Class Opencart\System\Library\Document

docs/api/Opencart.System.Library.Document.html

4.1.0.34.3 KB
Original Source

Namespaces

Classes

Class Opencart[System](http://localhost\opencart-master/docs/api/namespace-Opencart.System.html)\[Library](http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.html)\[Document](http://localhost\opencart-master/docs/api/Opencart.System.Library.Document.html)

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