final | |
---|---|
uses |
Strict |
Context-aware escaping.
Methods | ||
---|---|---|
public
|
__construct(string $contentType)
|
# |
public
|
getContentType(): string
|
# |
public
|
getState(): string
|
# |
public
|
export(): string
|
# |
public
|
enterContentType(string $type): void
|
# |
public
|
enterHtmlText(?ElementNode $node): void
|
# |
public
|
enterHtmlTag(string $name): void
|
# |
public
|
enterHtmlAttribute(?string $name = null, string $quote = ''): void
|
# |
public
|
enterHtmlAttributeQuote(string $quote = '"'): void
|
# |
public
|
enterHtmlBogusTag(): void
|
# |
public
|
enterHtmlComment(): void
|
# |
public
|
escape(string $str): string
|
# |
public
|
check(string $str): string
|
# |
public
static
|
getConvertor(string $source, string $dest): ?callable
|
# |
Methods used from Latte\Strict |
---|
__call(), __callStatic(), __get(), __set(), __isset(), __unset() |
Constants | ||
---|---|---|
public
|
Text = 'text'
|
# |
public
|
JavaScript = 'js'
|
# |
public
|
Css = 'css'
|
# |
public
|
ICal = 'ical'
|
# |
public
|
Url = 'url'
|
# |
public
|
HtmlText = 'html'
|
# |
public
|
HtmlComment = 'html/comment'
|
# |
public
|
HtmlBogusTag = 'html/bogus'
|
# |
public
|
HtmlCss = 'html/css'
|
# |
public
|
HtmlJavaScript = 'html/js'
|
# |
public
|
HtmlTag = 'html/tag'
|
# |
public
|
HtmlAttribute = 'html/attr'
|
# |