getData('rows'); $i++) { $subSubForm = new Qs_Form_SubForm(); for ($j = 0; $j < $this->getData('columns'); $j++) { $subSubForm->addElement($this->_elementType, (string)$j); } $subForm->addSubForm($subSubForm, (string)$i); } $prefix = $this->getData('formType') != App_FormBuilder_Obj::DEFAULT_FORM_TYPE ? $this->getData('formType') : ''; $form->addSubForm($subForm, $prefix . $this->getData('propertyName')); return $this; } }