public function save()
    {
        $bResult = false;
        try {
            if (count($this->groupFields)) {
                foreach ($this->groupFields as $group) {
                    $fields = $group['fields'];
                    foreach ($fields as $field) {
                        $field->save();
                    }
                }
            }
            $bResult = true;
        } catch (\Exception $e) {
            //exception handling
        }

        return $bResult;
    }
public function save()
    {
        $bResult = false;
        try {
            if (count($this->groupFields)) {
                foreach ($this->groupFields as $group) {
                    $fields = $group['fields'];
                    foreach ($fields as $field) {
                        $field->save();
                    }
                }
            }
            $bResult = true;
        } catch (\Exception $e) {
            //exception handling
        }

        return $bResult;
    }
public function save ( ) { $ bResult = false ; try { if ( count ( $ this -> groupFields ) ) { foreach ( $ this -> groupFields as $ group ) { $ fields = $ group [ 'fields' ] ; foreach ( $ fields as $ field ) { $ field -> save ( ) ; } } } $ bResult = true ; } catch ( \ Exception $ e ) { //exception handling } return $ bResult ; }
Save group field data.

@return bool
Save group field data .