new mmir.view.YieldDeclaration(parsingElement, contentAreaType)
The YieldDeclaration class holds the name of the yield-declaration (which is a place-holder for the contentFor-fields and is used in the layouts: content, header, footer, dialogs, ...)
and its starting and ending position within the content-definition.
Name | Type | Description |
---|---|---|
parsingElement |
Object |
with properties name {String}, start {Integer}, end {Integer} |
contentAreaType |
Integer | the type of the content area within the layout that this yield-declaration refers to (e.g. ViewConstants.CONTENT_AREA_BODY ) borrows the getValue function from ParsingResult: |
Requires
- module:mmir.parser.ParsingResult#getValue