|
VirtueMart
3.2.14.9808
|


Public Member Functions | |
| __construct () | |
| getMigrationProgress ($group) | |
| storeMigrationProgress ($group, $array, $limit= '') | |
| migrateGeneral () | |
| migrateUsers () | |
| migrateProducts () | |
| migrateOrders () | |
| migrateAllInOne () | |
| portMedia () | |
| _getMediaIdByName ($filename, $type) | |
| portOrders () | |
| portOrderStatus () | |
| getDimensionUnitMigrateValues () | |
| getWeightUnitMigrateValues () | |
| loadCountListContinue ($q, $startLimit, $maxItems, $msg) | |
| portCurrency () | |
| restoreDatabase ($prefix='bak_vm_') | |
| portVm1Attributes () | |
| portVm1RelatedProducts () | |
Public Member Functions inherited from VmModel | |
| __construct ($cidName='cid', $config=array()) | |
| setDebugSql ($b) | |
| getName () | |
| setState ($property, $value=null) | |
| getState ($property=null, $default=null) | |
| getTable ($name= '', $prefix= 'Table', $options=array()) | |
| setIdName ($idName) | |
| getIdName () | |
| getId () | |
| setId ($id) | |
| setMainTable ($maintablename, $maintable=0) | |
| getDefaultOrdering () | |
| addvalidOrderingFieldName ($add) | |
| removevalidOrderingFieldName ($name) | |
| setDefaultValidOrderingFields ($defaultTable=null) | |
| _getOrdering ($preTable='') | |
| checkFilterOrder ($toCheck, $view=0, $task= '') | |
| checkValidOrderingFieldName ($toCheck) | |
| checkFilterDir ($toCheck, $view=0, $task= '') | |
| getPagination ($perRow=5) | |
| setPaginationLimits () | |
| getTotal () | |
| setGetCount ($withCount) | |
| exeSortSearchListQuery ($object, $select, $joinedTables, $whereString= '', $groupBy= '', $orderBy= '', $filter_order_Dir= '', $nbrReturnProducts=false) | |
| emptyCache () | |
| getData ($id=0) | |
| store (&$data) | |
| remove ($ids) | |
| setToggleName ($togglesName) | |
| toggle ($field, $val=NULL, $cidname=0, $tablename=0, $view=false) | |
| move ($direction, $filter=null) | |
| saveorder ($cid=array(), $order, $filter=null) | |
| addImages ($obj, $limit=0) | |
| resetErrors () | |
Public Member Functions inherited from vObject | |
| __toString () | |
| get ($prop, $def=null) | |
| set ($prop, $value=null) | |
| setProperties ($props) | |
Public Attributes | |
| $mediaIdFilename = array() | |
Public Attributes inherited from VmModel | |
| $_id = 0 | |
| $_data = null | |
| $_query = null | |
| $_total = null | |
| $_pagination = 0 | |
| $_limit = 0 | |
| $_limitStart = 0 | |
| $_maintable = '' | |
| $_maintablename = '' | |
| $_idName = '' | |
| $_cidName = 'cid' | |
| $_togglesName = null | |
| $_selectedOrderingDir = 'DESC' | |
| $_noLimit = false | |
| $_tablePreFix = '' | |
| $_validOrderingFieldName = array() | |
| $_validFilterDir = array('ASC','DESC') | |
Private Member Functions | |
| _portMediaByType ($url, $type) | |
| portShoppergroups () | |
| portUsers () | |
| portVendor () | |
| portCategories () | |
| portManufacturerCategories () | |
| portManufacturers () | |
| portProducts () | |
| _changeToStamp ($dateIn) | |
| _ensureUsingCurrencyId ($curr) | |
| _getMaxItems ($name) | |
| _getStartLimit ($name) | |
| getCountryIdByName ($name) | |
| getStateIdByName ($name) | |
| getCurrencyIdByCode ($name) | |
| createOrderStatusAssoc () | |
| parseWeightUom ($weightUnit) | |
| parseDimensionUom ($dimensionUnit) | |
| parseUom ($unit, $migrateValues) | |
| _attributesToJson ($attributes) | |
Private Attributes | |
| $_stop = false | |
| $_countries = array() | |
| $_states = array() | |
Additional Inherited Members | |
Static Public Member Functions inherited from VmModel | |
| static | addTablePath ($path) |
| static | addIncludePath ($path= '', $prefix= '') |
| static | getInstance ($type, $prefix= '', $config=array()) |
| static | getModel ($name=false) |
| static | joinLangTables ($tablename, $prefix, $on, $method=0) |
| static | joinLangSelectFields ($langFields, $as=true) |
| static | joinLangLikeFields ($langFields, $keyword) |
| static | joinLangLikeField ($searchField, $keyword) |
Protected Member Functions inherited from VmModel | |
| populateState () | |
| _createTable ($name, $prefix= 'Table', $config=array()) | |
| _getList ($query, $limitstart=0, $limit=0) | |
| _getListCount ($query) | |
Static Protected Member Functions inherited from VmModel | |
| static | _createFileName ($type, $parts=array()) |
Protected Attributes inherited from VmModel | |
| $__state_set = null | |
| $name | |
| $option = null | |
| $state | |
| $event_clean_cache = null | |
| $_maxItems = 1000 | |
| Migrator::__construct | ( | ) |
|
private |
|
private |
|
private |
|
private |
| Migrator::_getMediaIdByName | ( | $filename, | |
| $type | |||
| ) |
|
private |
Enter description here ...
|
private |
|
private |
|
private |
|
private |
| Migrator::getDimensionUnitMigrateValues | ( | ) |
get new Length Standard Unit
| Migrator::getMigrationProgress | ( | $group | ) |
|
private |
| Migrator::getWeightUnitMigrateValues | ( | ) |
get new Weight Standard Unit
| Migrator::loadCountListContinue | ( | $q, | |
| $startLimit, | |||
| $maxItems, | |||
| $msg | |||
| ) |
| Migrator::migrateAllInOne | ( | ) |
| Migrator::migrateGeneral | ( | ) |
| Migrator::migrateOrders | ( | ) |
| Migrator::migrateProducts | ( | ) |
| Migrator::migrateUsers | ( | ) |
|
private |
parse the entered string to a standard unit
|
private |
parse the entered string to a standard unit
|
private |
parse the entered string to a standard unit
|
private |
| Migrator::portCurrency | ( | ) |
|
private |
|
private |
| Migrator::portMedia | ( | ) |
| Migrator::portOrders | ( | ) |
| Migrator::portOrderStatus | ( | ) |
|
private |
|
private |
|
private |
|
private |
| Migrator::portVm1Attributes | ( | ) |
Roughly taken from the forum, a bit rewritten by Max Milbers to use the joomla database Thank you raycarter
| Migrator::portVm1RelatedProducts | ( | ) |
Roughly taken from the forum, a bit rewritten by Max Milbers to use the joomla database Thank you oneforallsoft
http://forum.virtuemart.net/index.php?topic=116403.0 http://www.oneforallsoft.com/related-products-missing-after-virtuemart-upgrade/
| Migrator::restoreDatabase | ( | $prefix = 'bak_vm_' | ) |
Method to restore all virtuemart tables in a database with a given prefix
public
| string | Old table prefix |
| Migrator::storeMigrationProgress | ( | $group, | |
| $array, | |||
$limit = '' |
|||
| ) |
|
private |
Gets the virtuemart_country_id by a country 2 or 3 code
| string | $name | Country 3 or Country 2 code (example US for United States) return int virtuemart_country_id |
|
private |
|
private |
| Migrator::$mediaIdFilename = array() |
Finds the media id in the vm2 table for a given filename
1.8.11