VirtueMart  3.2.14.9808
Public Member Functions | Private Member Functions | List of all members
VirtuemartControllerUpdatesMigration Class Reference
Inheritance diagram for VirtuemartControllerUpdatesMigration:
Inheritance graph
[legend]
Collaboration diagram for VirtuemartControllerUpdatesMigration:
Collaboration graph
[legend]

Public Member Functions

 __construct ()
 
 setsafepathupper ()
 
 setsafepathcom ()
 
 installSampleData ()
 
 setStoreOwner ()
 
 restoreSystemDefaults ()
 
 fixCustomsParams ()
 
 deleteInheritedCustoms ()
 
 deleteVmTables ()
 
 deleteVmData ()
 
 refreshCompleteInstallAndSample ()
 
 refreshCompleteInstall ($sample=false)
 
 installCompleteSamples ()
 
 installComplete ($sample=false)
 
 updateDatabase ()
 
 optimizeDatabase ()
 
 updateDatabaseJoomla ()
 
 renewConfig ()
 
 setDangerousToolsOff ()
 
 _getMsgDangerousTools ()
 
 portMedia ()
 
 migrateGeneralFromVmOne ()
 
 migrateUsersFromVmOne ()
 
 migrateProductsFromVmOne ()
 
 migrateOrdersFromVmOne ()
 
 migrateAllInOne ()
 
 portVmAttributes ()
 
 portVmRelatedProducts ()
 
 storeMigrationOptionsInSession ()
 
 resetThumbs ()
 
- Public Member Functions inherited from VmController
 __construct ($cidName='cid', $config=array())
 
 display ($cachable=false, $urlparams=false)
 
 edit ($layout='edit')
 
 save ($data=0)
 
 remove ()
 
 cancel ()
 
 toggle ($field=0, $val=null)
 
 publish ($cidname=0, $table=0, $redirect=0)
 
 unpublish ($cidname=0, $table=0, $redirect=0)
 
 orderup ()
 
 orderdown ()
 
 saveorder ()
 
 getModel ($name= '', $prefix= '', $config=array())
 

Private Member Functions

 checkPermissionForTools ()
 
 addMenuEntries ($sample)
 
 addBackendMenuEntries ($menuModel, $extensionId)
 
 storeMenuEntry ($menuModel, $data, $title, $alias, $path, $link, $img, $params= '{}')
 
 addAssetEntries ()
 
 addAssetEntry ($assetTable, $assetData)
 
 updateModuleAssetId ($mId, $aId)
 

Additional Inherited Members

- Protected Attributes inherited from VmController
 $_cidName = 0
 
 $_cname = 0
 

Constructor & Destructor Documentation

VirtuemartControllerUpdatesMigration::__construct ( )

Method to display the view

public

Member Function Documentation

VirtuemartControllerUpdatesMigration::_getMsgDangerousTools ( )

Sends the message to the user that the tools are disabled.

Author
Max Milbers
VirtuemartControllerUpdatesMigration::addAssetEntries ( )
private
VirtuemartControllerUpdatesMigration::addAssetEntry (   $assetTable,
  $assetData 
)
private
VirtuemartControllerUpdatesMigration::addBackendMenuEntries (   $menuModel,
  $extensionId 
)
private
VirtuemartControllerUpdatesMigration::addMenuEntries (   $sample)
private
VirtuemartControllerUpdatesMigration::checkPermissionForTools ( )
private

Call at begin of every task to check if the permission is high enough. Atm the standard is at least vm admin

Author
Max Milbers
VirtuemartControllerUpdatesMigration::deleteInheritedCustoms ( )

Quite unsophisticated, but it does it jobs if there are not too much products/customfields.

VirtuemartControllerUpdatesMigration::deleteVmData ( )

Deletes all dynamical created data and leaves a "fresh" installation without sampledata OUTDATED

Author
Max Milbers
VirtuemartControllerUpdatesMigration::deleteVmTables ( )

Remove all the Virtuemart tables from the database.

Author
Max Milbers
VirtuemartControllerUpdatesMigration::fixCustomsParams ( )
VirtuemartControllerUpdatesMigration::installComplete (   $sample = false)
VirtuemartControllerUpdatesMigration::installCompleteSamples ( )
VirtuemartControllerUpdatesMigration::installSampleData ( )

Install sample data into the database

Author
Max Milbers
VirtuemartControllerUpdatesMigration::migrateAllInOne ( )

Is doing all migrator steps in one row

Author
Max Milbers
VirtuemartControllerUpdatesMigration::migrateGeneralFromVmOne ( )
VirtuemartControllerUpdatesMigration::migrateOrdersFromVmOne ( )
VirtuemartControllerUpdatesMigration::migrateProductsFromVmOne ( )
VirtuemartControllerUpdatesMigration::migrateUsersFromVmOne ( )
VirtuemartControllerUpdatesMigration::optimizeDatabase ( )
VirtuemartControllerUpdatesMigration::portMedia ( )
VirtuemartControllerUpdatesMigration::portVmAttributes ( )
VirtuemartControllerUpdatesMigration::portVmRelatedProducts ( )
VirtuemartControllerUpdatesMigration::refreshCompleteInstall (   $sample = false)
VirtuemartControllerUpdatesMigration::refreshCompleteInstallAndSample ( )
VirtuemartControllerUpdatesMigration::renewConfig ( )

Delete the config stored in the database and renews it using the file

Max Milbers

VirtuemartControllerUpdatesMigration::resetThumbs ( )
VirtuemartControllerUpdatesMigration::restoreSystemDefaults ( )

Install sample data into the database

Author
RickG
Max Milbers
VirtuemartControllerUpdatesMigration::setDangerousToolsOff ( )

This function resets the flag in the config that dangerous tools can't be executed anylonger This is a security feature

Author
Max Milbers
VirtuemartControllerUpdatesMigration::setsafepathcom ( )
VirtuemartControllerUpdatesMigration::setsafepathupper ( )
VirtuemartControllerUpdatesMigration::setStoreOwner ( )

Sets the storeowner to the currently logged in user He needs admin rights

Author
Max Milbers
VirtuemartControllerUpdatesMigration::storeMenuEntry (   $menuModel,
  $data,
  $title,
  $alias,
  $path,
  $link,
  $img,
  $params = '{}' 
)
private
VirtuemartControllerUpdatesMigration::storeMigrationOptionsInSession ( )
VirtuemartControllerUpdatesMigration::updateDatabase ( )

This is executing the update table commands to adjust tables to the latest layout

Author
Max Milbers
VirtuemartControllerUpdatesMigration::updateDatabaseJoomla ( )

This is executing the update table commands to adjust joomla tables to the latest layout

Author
Max Milbers
VirtuemartControllerUpdatesMigration::updateModuleAssetId (   $mId,
  $aId 
)
private

The documentation for this class was generated from the following file: