source/Core/Form/UpdatableFieldsConstructor.php
public function getAllowedFieldsCleaner(AbstractUpdatableFields $updatableFields)
    {
        $helper = oxNew(FieldNameHelper::class);
        $allowedFields = $helper->getFullFieldNames($updatableFields->getTableName(), $updatableFields->getUpdatableFields());

        $updatableFields = oxNew(\OxidEsales\Eshop\Core\Form\FormFields::class, $allowedFields);

        return oxNew(\OxidEsales\Eshop\Core\Form\FormFieldsCleaner::class, $updatableFields);
    }
public function getAllowedFieldsCleaner(AbstractUpdatableFields $updatableFields)
    {
        $helper = oxNew(FieldNameHelper::class);
        $allowedFields = $helper->getFullFieldNames($updatableFields->getTableName(), $updatableFields->getUpdatableFields());

        $updatableFields = oxNew(\OxidEsales\Eshop\Core\Form\FormFields::class, $allowedFields);

        return oxNew(\OxidEsales\Eshop\Core\Form\FormFieldsCleaner::class, $updatableFields);
    }
public function getAllowedFieldsCleaner ( AbstractUpdatableFields $ updatableFields ) { $ helper = oxNew ( FieldNameHelper :: class ) ; $ allowedFields = $ helper -> getFullFieldNames ( $ updatableFields -> getTableName ( ) , $ updatableFields -> getUpdatableFields ( ) ) ; $ updatableFields = oxNew ( \ OxidEsales \ Eshop \ Core \ Form \ FormFields :: class , $ allowedFields ) ; return oxNew ( \ OxidEsales \ Eshop \ Core \ Form \ FormFieldsCleaner :: class , $ updatableFields ) ; }
Get cleaner for field list which are allowed to be submitted in a form.

@param AbstractUpdatableFields $updatableFields

@return FormFieldsCleaner
Get cleaner for field list which are allowed to be submitted in a form .