OXID eShop CE
4.8.11
|
Public Member Functions | |
__construct () | |
setDelVatOnTop ($blOnTop) | |
getArticles () | |
getCategories () | |
hasArticles () | |
hasCategories () | |
getDeliveryAmount ($oBasketItem) | |
setDeliveryPrice ($oPrice) | |
getDeliveryPrice ($dVat=null) | |
delete ($sOXID=null) | |
isForBasket ($oBasket) | |
getIdByName ($sTitle) | |
getCountriesISO () | |
Public Member Functions inherited from oxI18n | |
setLanguage ($iLang=null) | |
getLanguage () | |
setEnableMultilang ($blEmployMultilanguage) | |
isMultilingualField ($sFieldName) | |
isMultilang () | |
loadInLang ($iLanguage, $sOxid) | |
modifyCacheKey ($sCacheKey, $blOverride=false) | |
getAvailableInLangs () | |
getUpdateSqlFieldName ($sField) | |
Public Member Functions inherited from oxBase | |
getUseSkipSaveFields () | |
setUseSkipSaveFields ($blUseSkipSaveFields) | |
__set ($sName, $sValue) | |
__get ($sName) | |
__isset ($mVar) | |
__clone () | |
oxClone ($oObject) | |
getUpdateSeo () | |
setUpdateSeo ($blUpdateSeo) | |
init ($sTableName=null, $blForceAllFields=false) | |
assign ($dbRecord) | |
getClassName () | |
getCoreTableName () | |
getId () | |
setId ($sOXID=null) | |
setShopId ($iShopId) | |
getShopId () | |
getViewName ($blForceCoreTableUsage=null) | |
disableLazyLoading () | |
isDerived () | |
setIsDerived ($blVal) | |
load ($sOXID) | |
isLoaded () | |
buildSelectString ($aWhere=null) | |
assignRecord ($sSelect) | |
getFieldData ($sFieldName) | |
getSelectFields ($blForceCoreTableUsage=null) | |
save () | |
allowDerivedUpdate () | |
allowDerivedDelete () | |
exists ($sOXID=null) | |
getSqlActiveSnippet ($blForceCoreTable=null) | |
beforeUpdate ($sOXID=null) | |
onChange ($iAction=null, $sOXID=null) | |
setInList () | |
isOx () | |
isReadOnly () | |
setReadOnly ($blReadOnly) | |
getFieldNames () | |
addFieldName ($sName) | |
Public Member Functions inherited from oxSuperCfg | |
__call ($sMethod, $aArgs) | |
getConfig () | |
setConfig ($oConfig) | |
getSession () | |
setSession ($oSession) | |
getUser () | |
setUser ($oUser) | |
isAdmin () | |
setAdminMode ($blAdmin) |
Protected Member Functions | |
_isForArticle ($oContent, $iArtAmount) | |
_checkDeliveryAmount ($iAmount) | |
Protected Member Functions inherited from oxI18n | |
_getFieldStatus ($sFieldName) | |
_getNonCachedFieldNames ($blForceFullStructure=false) | |
_getFieldLang ($sFieldName) | |
_setUpdateSeoOnFieldChange ($sField) | |
_getUpdateFieldsForTable ($sTable, $blUseSkipSaveFields=true) | |
_getUpdateFields ($blUseSkipSaveFields=true) | |
_update () | |
_getLanguageSetTables ($sCoreTableName=null) | |
_insert () | |
_getObjectViewName ($sTable, $sShopID=null) | |
_getAllFields ($blReturnSimple=false) | |
_addField ($sName, $sStatus, $sType=null, $sLength=null) | |
_canFieldBeNull ($sFieldName) | |
Protected Member Functions inherited from oxBase | |
_isInList () | |
_getTableFields ($sTable, $blReturnSimple=false) | |
_initDataStructure ($blForceFullStructure=false) | |
_getFieldLongName ($sFieldName) | |
_setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT) | |
_getFieldDefaultValue ($sFieldName) | |
_getUpdateFieldValue ($sFieldName, $oField) | |
_isDisabledFieldCache () |
Protected Attributes | |
$_sClassName = 'oxdelivery' | |
$_iItemCnt = 0 | |
$_iProdCnt = 0 | |
$_dPrice = 0 | |
$_oPrice = null | |
$_aArtIds = null | |
$_aCatIds = null | |
$_blFreeShipping = true | |
$_blDelVatOnTop = false | |
$_aCountriesISO = null | |
$_aRDFaDeliverySet = null | |
Protected Attributes inherited from oxI18n | |
$_sClassName = 'oxI18n' | |
$_iLanguage = null | |
$_blEmployMultilanguage = true | |
Protected Attributes inherited from oxBase | |
$_sOXID = null | |
$_iShopId = null | |
$_blIsSimplyClonable = true | |
$_sClassName = 'oxbase' | |
$_sCoreTable = null | |
$_sViewTable = null | |
$_aFieldNames = array('oxid' => 0) | |
$_sCacheKey = null | |
$_blUseLazyLoading = false | |
$_aSkipSaveFields = array('oxtimestamp') | |
$_blUseSkipSaveFields = true | |
$_sExistKey = 'oxid' | |
$_blIsDerived = null | |
$_blIsSeoObject = false | |
$_blUpdateSeo = true | |
$_blReadOnly = false | |
$_blIsInList = false | |
$_isLoaded = false | |
$_aInnerLazyCache = null | |
$_blEmployMultilanguage = false |
Static Protected Attributes | |
static | $_aProductList = array() |
Order delivery manager. Currently calculates price/costs.
Definition at line 8 of file oxdelivery.php.
oxDelivery::__construct | ( | ) |
Class constructor, initiates parent constructor (parent::oxBase()).
Reimplemented from oxI18n.
Definition at line 100 of file oxdelivery.php.
|
protected |
checks if amount param is ok for this delivery
double | $iAmount | amount |
Definition at line 462 of file oxdelivery.php.
|
protected |
Checks if delivery fits for one article
object | $oContent | shop basket item |
integer | $iArtAmount | product amount |
Definition at line 445 of file oxdelivery.php.
oxDelivery::delete | ( | $sOXID = null | ) |
Delete this object from the database, returns true on success.
string | $sOXID | Object ID (default null) |
Reimplemented from oxI18n.
Definition at line 322 of file oxdelivery.php.
oxDelivery::getArticles | ( | ) |
Collects article Ids which are assigned to current delivery
Definition at line 124 of file oxdelivery.php.
oxDelivery::getCategories | ( | ) |
Collects category Ids which are assigned to current delivery
Definition at line 148 of file oxdelivery.php.
oxDelivery::getCountriesISO | ( | ) |
Returns array of country ISO's which are assigned to current delivery
Definition at line 503 of file oxdelivery.php.
oxDelivery::getDeliveryAmount | ( | $oBasketItem | ) |
Returns amount (total net price/weight/volume/Amount) on which delivery price is applied
oxBasketItem | $oBasketItem | basket item object |
Definition at line 193 of file oxdelivery.php.
oxDelivery::getDeliveryPrice | ( | $dVat = null | ) |
Returns oxprice object for delivery costs
double | $dVat | delivery vat |
Definition at line 264 of file oxdelivery.php.
oxDelivery::getIdByName | ( | $sTitle | ) |
returns delivery id
string | $sTitle | delivery name |
Definition at line 489 of file oxdelivery.php.
oxDelivery::hasArticles | ( | ) |
oxDelivery::hasCategories | ( | ) |
Checks if delivery has assigned categories
Definition at line 181 of file oxdelivery.php.
oxDelivery::isForBasket | ( | $oBasket | ) |
Checks if delivery fits for current basket
oxBasket | $oBasket | shop basket |
Definition at line 346 of file oxdelivery.php.
oxDelivery::setDeliveryPrice | ( | $oPrice | ) |
Delivery price setter
oxprice | $oPrice | delivery price to set |
Definition at line 252 of file oxdelivery.php.
oxDelivery::setDelVatOnTop | ( | $blOnTop | ) |
Delivery VAT config setter
bool | $blOnTop | delivery vat config |
Definition at line 114 of file oxdelivery.php.
|
protected |
Definition at line 53 of file oxdelivery.php.
|
protected |
Definition at line 60 of file oxdelivery.php.
|
protected |
Definition at line 88 of file oxdelivery.php.
|
staticprotected |
Definition at line 74 of file oxdelivery.php.
|
protected |
Definition at line 95 of file oxdelivery.php.
|
protected |
Definition at line 81 of file oxdelivery.php.
|
protected |
Definition at line 67 of file oxdelivery.php.
|
protected |
Definition at line 39 of file oxdelivery.php.
|
protected |
Definition at line 23 of file oxdelivery.php.
|
protected |
Definition at line 31 of file oxdelivery.php.
|
protected |
Definition at line 46 of file oxdelivery.php.
|
protected |
Definition at line 15 of file oxdelivery.php.