source/Application/Controller/Admin/AdminDetailsController.php
public function changeFolder()
    {
        $sFolder = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('setfolder');
        $sFolderClass = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('folderclass');

        if ($sFolderClass == 'oxcontent' && $sFolder == 'CMSFOLDER_NONE') {
            $sFolder = '';
        }

        $oObject = oxNew($sFolderClass);
        if ($oObject->load($this->getEditObjectId())) {
            $oObject->{$oObject->getCoreTableName() . '__oxfolder'} = new \OxidEsales\Eshop\Core\Field($sFolder);
            $oObject->save();
        }
    }
public function changeFolder()
    {
        $sFolder = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('setfolder');
        $sFolderClass = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('folderclass');

        if ($sFolderClass == 'oxcontent' && $sFolder == 'CMSFOLDER_NONE') {
            $sFolder = '';
        }

        $oObject = oxNew($sFolderClass);
        if ($oObject->load($this->getEditObjectId())) {
            $oObject->{$oObject->getCoreTableName() . '__oxfolder'} = new \OxidEsales\Eshop\Core\Field($sFolder);
            $oObject->save();
        }
    }
public function changeFolder ( ) { $ sFolder = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'setfolder' ) ; $ sFolderClass = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'folderclass' ) ; if ( $ sFolderClass == 'oxcontent' && $ sFolder == 'CMSFOLDER_NONE' ) { $ sFolder = '' ; } $ oObject = oxNew ( $ sFolderClass ) ; if ( $ oObject -> load ( $ this -> getEditObjectId ( ) ) ) { $ oObject -> { $ oObject -> getCoreTableName ( ) . '__oxfolder' } = new \ OxidEsales \ Eshop \ Core \ Field ( $ sFolder ) ; $ oObject -> save ( ) ; } }
Updates object folder parameters.
Updates object folder parameters .