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