wrap[WRAP_SETUP_TITLE][WRAP_SETUP_START] = '
'; $this->wrap[WRAP_SETUP_ELEMENT][WRAP_SETUP_END] = '
'; $this->wrap[WRAP_SETUP_LABEL][WRAP_SETUP_START] = ''; $this->wrap[WRAP_SETUP_LABEL][WRAP_SETUP_END] = ''; $this->wrap[WRAP_SETUP_INPUT][WRAP_SETUP_START] = ''; $this->wrap[WRAP_SETUP_INPUT][WRAP_SETUP_END] = ''; $this->wrap[WRAP_SETUP_NOTE][WRAP_SETUP_START] = ''; $this->wrap[WRAP_SETUP_NOTE][WRAP_SETUP_END] = ''; $this->wrap[WRAP_SETUP_IN_FIELDSET][WRAP_SETUP_START] = ''; $this->wrap[WRAP_SETUP_IN_FIELDSET][WRAP_SETUP_END] = '
'; $this->wrap[WRAP_SETUP_IN_TEMPLATE_GROUP][WRAP_SETUP_START] = ""; $this->wrap[WRAP_SETUP_IN_TEMPLATE_GROUP][WRAP_SETUP_END] = ""; } public function fillWrapLabelInputNote($label, $input, $note) { } /** * @return string */ public function getProcessFilter() { return FORM_ELEMENTS_NATIVE; } /** * @return string */ public function doSubrecords() { $json = array(); //TODO: $json is not returned - which is wrong. In this case, dynamic update won't work for subrecords return $this->elements($this->store->getVar(SIP_RECORD_ID, STORE_SIP), FORM_ELEMENTS_SUBRECORD, $json); } /** * @param $htmlFormElementId * @param $formElement * @param $value * @return string */ public function buildRowNative(array $formElement, $htmlElement, $htmlFormElementId) { $html = ''; // Construct Marshaller Name // $buildElementFunctionName = 'build' . $this->buildElementFunctionName[$formElement[FE_TYPE]]; if($formElement['nestedInFieldSet']==='no') { $html .= $this->wrap[WRAP_SETUP_ELEMENT][WRAP_SETUP_START]; } $html .= $this->wrapItem(WRAP_SETUP_LABEL, $formElement[FE_LABEL]); $html .= $this->wrapItem(WRAP_SETUP_INPUT, $htmlElement); $html .= $this->wrapItem(WRAP_SETUP_NOTE, $formElement[FE_NOTE]); if($formElement['nestedInFieldSet']==='no') { $html .= $this->wrap[WRAP_SETUP_ELEMENT][WRAP_SETUP_END]; } return $html; } /** * @return string */ public function tail() { $html = ''; // $html .= $this->buildNewSip(); $html .= $this->wrapItem(WRAP_SETUP_INPUT, ''); $html = $this->wrapItem(WRAP_SETUP_ELEMENT, $html); $html .= ''; $html .= ''; // main