class ContentTypeNode extends StatementNode

{contentType html|xml|js|css|text|...} Switches escaping mode and optionally sends HTTP header.

Properties

$contentType
$mimeType
$inScript

Methods

static ContentTypeNode
create(Tag $tag, TemplateParser $parser)

No description

string
print(PrintContext $context)

No description

getIterator()

No description

Details

at line 29
static ContentTypeNode create(Tag $tag, TemplateParser $parser)

No description

Parameters

Tag $tag
TemplateParser $parser

Return Value

ContentTypeNode

at line 58
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 82
Generator getIterator()

No description

Return Value

Generator