|
| __construct () |
|
| getFieldList ($fieldname) |
|
| getTCPDFFontsList () |
|
| getNoImageList () |
|
| getCurrencyConverterList () |
|
| getContentLinks () |
|
| getActiveLanguages ($active_languages, $name= 'active_languages[]', $multiple=true, $placeholder= 'COM_VIRTUEMART_DRDOWN_NOTMULTILINGUAL') |
|
| getProductFilterFields ($type) |
|
| store (&$data) |
|
| setVmLanguages () |
|
| setDangerousToolsOff () |
|
| remove ($id) |
|
| deleteConfig () |
|
| setFraudProtection () |
|
| vendorRequireFraudProtection () |
|
| __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 () |
|
| __toString () |
|
| get ($prop, $def=null) |
|
| set ($prop, $value=null) |
|
| setProperties ($props) |
|
|
static | getLayoutList ($view, $ignore=0, $emptyOption=true) |
|
static | getLayouts ($dirs, $type=0, $ignore=0, $emptyOption=true) |
|
static | getActiveVmLanguages () |
|
static | installLanguageTables () |
|
static | checkConfigTableExists () |
|
static | checkVirtuemartInstalled () |
|
static | installVMconfigTable () |
|
static | getCreateConfigTableQuery () |
|
static | readConfigFile () |
|
static | storeConfig ($params) |
|
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) |
|
|
static | $defaultFraudProtectionCountries = array('FRA', 'GLP', 'MTQ', 'GUF', 'REU', 'PYF', 'NCL', 'WLF', 'SPM', 'BLM', 'MAF') |
|
static | $vendorCountry = '' |
|
VirtueMartModelConfig::__construct |
( |
| ) |
|
static VirtueMartModelConfig::checkConfigTableExists |
( |
| ) |
|
|
static |
static VirtueMartModelConfig::checkVirtuemartInstalled |
( |
| ) |
|
|
static |
VirtueMartModelConfig::deleteConfig |
( |
| ) |
|
This function deletes a config stored in the database
- Author
- Max Milbers
VirtueMartModelConfig::getActiveLanguages |
( |
|
$active_languages, |
|
|
|
$name = 'active_languages[]' , |
|
|
|
$multiple = true , |
|
|
|
$placeholder = 'COM_VIRTUEMART_DRDOWN_NOTMULTILINGUAL' |
|
) |
| |
static VirtueMartModelConfig::getActiveVmLanguages |
( |
| ) |
|
|
static |
VirtueMartModelConfig::getContentLinks |
( |
| ) |
|
Retrieve a list of Joomla content items.
- Author
- RickG
- Returns
- object List of content objects
static VirtueMartModelConfig::getCreateConfigTableQuery |
( |
| ) |
|
|
static |
VirtueMartModelConfig::getCurrencyConverterList |
( |
| ) |
|
Retrieve a list of currency converter modules from the plugins directory.
- Author
- RickG
- Returns
- object List of theme objects
VirtueMartModelConfig::getFieldList |
( |
|
$fieldname | ) |
|
static VirtueMartModelConfig::getLayoutList |
( |
|
$view, |
|
|
|
$ignore = 0 , |
|
|
|
$emptyOption = true |
|
) |
| |
|
static |
Retrieve a list of layouts from the default and chosen templates directory.
- Author
- Max Milbers
- Parameters
-
- Returns
- object List of flypage objects
static VirtueMartModelConfig::getLayouts |
( |
|
$dirs, |
|
|
|
$type = 0 , |
|
|
|
$ignore = 0 , |
|
|
|
$emptyOption = true |
|
) |
| |
|
static |
VirtueMartModelConfig::getNoImageList |
( |
| ) |
|
Retrieve a list of possible images to be used for the 'no image' image.
- Author
- RickG
-
Max Milbers
- Returns
- object List of image objects
VirtueMartModelConfig::getProductFilterFields |
( |
|
$type | ) |
|
Retrieve a list of preselected and existing search or order By Fields $type = 'browse_search_fields' or 'browse_orderby_fields'
- Author
- Kohl Patrick
- Returns
- array of order list
VirtueMartModelConfig::getTCPDFFontsList |
( |
| ) |
|
Retrieve a list of available fonts to be used with PDF Invoice generation & PDF Product view on FE
- Author
- Nikos Zagas
- Returns
- object List of available fonts
static VirtueMartModelConfig::installLanguageTables |
( |
| ) |
|
|
static |
static VirtueMartModelConfig::installVMconfigTable |
( |
| ) |
|
|
static |
Creates the config table, if it does not exist
- Parameters
-
$_section | Section from the virtuemart_defaults.cfg file to be parsed. Currently, only 'config' is implemented |
- Returns
- Boolean; true on success, false otherwise
- Author
- Oscar van Eijk
static VirtueMartModelConfig::readConfigFile |
( |
| ) |
|
|
static |
We should this move out of this file, because it is usually only used one time in a shop life
- Author
- Oscar van Eijk
-
Max Milbers
VirtueMartModelConfig::remove |
( |
|
$id | ) |
|
VirtueMartModelConfig::setDangerousToolsOff |
( |
| ) |
|
Dangerous tools get disabled after execution an operation which needed that rights. This is the function actually doing it.
- Author
- Max Milbers
VirtueMartModelConfig::setFraudProtection |
( |
| ) |
|
VirtueMartModelConfig::setVmLanguages |
( |
| ) |
|
VirtueMartModelConfig::store |
( |
& |
$data | ) |
|
Save the configuration record
- Author
- Max Milbers
- Returns
- boolean True is successful, false otherwise
static VirtueMartModelConfig::storeConfig |
( |
|
$params | ) |
|
|
static |
VirtueMartModelConfig::vendorRequireFraudProtection |
( |
| ) |
|
VirtueMartModelConfig::$defaultFraudProtectionCountries = array('FRA', 'GLP', 'MTQ', 'GUF', 'REU', 'PYF', 'NCL', 'WLF', 'SPM', 'BLM', 'MAF') |
|
static |
FraudProtection to comply to the French financial Law 2018 Those 2 params are required: ordersAddOnly=1, ChangedInvCreateNewInvNumber=1
- Author
- Valérie Isaksen
VirtueMartModelConfig::$vendorCountry = '' |
|
static |
The documentation for this class was generated from the following file:
- administrator/components/com_virtuemart/models/config.php