private function createListControlAfterPostData($repeaterId, $default = null, $fieldOfRepeater)
    {
        $controls = array();
        $nameFormat = '%s[fields]' . sprintf('[%s][value][%s]', $this->getFieldId(), $repeaterId) . '[%s][value]';
        $idFormat = '%s_' . sprintf('%s_%s_', $this->getFieldId(), $repeaterId) . '_%s_value';

        if ($fieldOfRepeater->count()) {
            foreach ($fieldOfRepeater as $field) {
                $listDefault = $default[$field->id];
                $fieldControl = $this->createFieldControl($field, $repeaterId, $listDefault);
                $fieldControl->setHtmlNameFormat($nameFormat);
                $fieldControl->setHtmlIdFormat($idFormat);
                $controls[$field->id] = $fieldControl;
            }
        }

        return $controls;
    }
private function createListControlAfterPostData($repeaterId, $default = null, $fieldOfRepeater)
    {
        $controls = array();
        $nameFormat = '%s[fields]' . sprintf('[%s][value][%s]', $this->getFieldId(), $repeaterId) . '[%s][value]';
        $idFormat = '%s_' . sprintf('%s_%s_', $this->getFieldId(), $repeaterId) . '_%s_value';

        if ($fieldOfRepeater->count()) {
            foreach ($fieldOfRepeater as $field) {
                $listDefault = $default[$field->id];
                $fieldControl = $this->createFieldControl($field, $repeaterId, $listDefault);
                $fieldControl->setHtmlNameFormat($nameFormat);
                $fieldControl->setHtmlIdFormat($idFormat);
                $controls[$field->id] = $fieldControl;
            }
        }

        return $controls;
    }
private function createListControlAfterPostData ( $ repeaterId , $ default = null , $ fieldOfRepeater ) { $ controls = array ( ) ; $ nameFormat = '%s[fields]' . sprintf ( '[%s][value][%s]' , $ this -> getFieldId ( ) , $ repeaterId ) . '[%s][value]' ; $ idFormat = '%s_' . sprintf ( '%s_%s_' , $ this -> getFieldId ( ) , $ repeaterId ) . '_%s_value' ; if ( $ fieldOfRepeater -> count ( ) ) { foreach ( $ fieldOfRepeater as $ field ) { $ listDefault = $ default [ $ field -> id ] ; $ fieldControl = $ this -> createFieldControl ( $ field , $ repeaterId , $ listDefault ) ; $ fieldControl -> setHtmlNameFormat ( $ nameFormat ) ; $ fieldControl -> setHtmlIdFormat ( $ idFormat ) ; $ controls [ $ field -> id ] = $ fieldControl ; } } return $ controls ; }
create list controller when user post data from browser.

@param $repeaterId
@param null $default

@return array
create list controller when user post data from browser .