code: function (sectionParam, sectionConstructor) {
  
                  var newSection = new sectionConstructor(this.tplCtxt, sectionParam);
  
                  if (!newSection.cfgOk) {
                      // TODO: log error
                      newSection.$dispose();
                      newSection = new ariaTemplatesSection(this.tplCtxt, {});
                  }
  
                  if (this._currentSection) {
                      this._currentSection.addSubSection(newSection); // add the section to its parent
                  }
                  // only set the id after the section has been added to its parent
                  newSection.writeBegin(this);
                  // Update current section with new created section
                  this._currentSection = newSection;
                  newSection.writeContent(this);
              }
docs: Begin a new standard section, or a repeater section (depending on the second parameter).
  @param {aria.templates.CfgBeans:SectionCfg|aria.templates.CfgBeans:RepeaterCfg} sectionParam section
  @param {Function} sectionConstructor may be either aria.templates.Section or aria.templates.Repeater