[Mage_SalesRule] element index

Package indexes

All elements
a b c d e f g i l m o p r s t u v _
_
top
$_baseRoundingDeltas
$_calculator
Discount calculation object
$_calculator
Discount calculation object
$_canAddAmountToAddress
Don't add amounts to address
$_cartFixedRuleUsedForAddress
Store information about addresses which cart fixed rule applied for
$_couponCodeGenerator
$_coupons
Rule's subordinate coupons
$_couponTypes
Coupon types cache for lazy getter
$_eventObject
Parameter name in event
$_eventPrefix
Prefix of model events names
$_isFirstTimeProcessRun
Defines if method Mage_SalesRule_Model_Validator::process() was already called Used for clearing applied rule ids in Quote and in Address
$_isFirstTimeResetRun
Defines if method Mage_SalesRule_Model_Validator::reset() wasn't called Used for clearing applied rule ids in Quote and in Address
$_labels
$_periodFormat
$_primaryCoupon
Rule's primary coupon
$_roundingDeltas
$_rule
Coupon's owner rule instance
$_rules
Rule source collection
$_rulesItemTotals
Information about item totals for rules.
$_selectedColumns
$_selectedColumns
$_validator
_addDiscountDescription
Add rule discount description label to address object
_addSpecialAttributes
_afterLoad
Processing object after load data
_afterSave
Save rule labels after rule save and process product attributes used in actions and conditions
_aggregateByOrderCreatedAt
Aggregate coupons reports by order created at as range
_aggregateItemDiscount
Aggregate item discount information to address data and related properties
_beforeSave
_beforeSave
Perform actions before object save
_beforeSave
Processing object before save data
_canProcessRule
Check if rule can be applied for specific address/quote/customer
_checkSalesRulesAvailability
Check rules that contains affected attribute If rules were found they will be set to inactive and notice will be add to admin session
_construct
_construct
_construct
_construct
_construct
_construct
_construct
Constructor adds unique fileds
_construct
_construct
_construct
_construct
_construct
_construct
_construct
_getAddress
Get address object which can be used for discount calculation
_getAddressItems
Get nominal items only
_getItemBasePrice
Return item base price
_getItemPrice
Return item price
_getItemQty
Return discount item qty
_getRules
Get rules collection for current object state
_getSelectedColumns
_getUsedAttributes
Return all product attributes used on serialized action or condition
_initSelect
Add selected data
_initSelect
Add selected data
_initSelect
Init collection select
_maintainAddressCouponCode
Retrieve subordinate coupon IDs
_removeAttributeFromConditions
Remove catalog attribute condition by attribute code from rule conditions
__construct
__construct
__construct
__construct
__construct
__construct
__construct
__construct
Initialize custom resource model
a
top
acquireCoupon
Acquire coupon instance
addAttributeInConditionFilter
Find product attribute in conditions or actions
addItemDiscountPrices
Add additional amounts to discount calculation prices
addProductAttributes
Append sales rule product attributes to select by quote item collection
addRuleIdsToFilter
Add rule IDs to filter
addRuleToFilter
Add rule to filter
addWebsiteFilter
Filter collection by specified website IDs
aggregate
Aggregate Coupons data
aggregateSalesReportCouponsData
Refresh sales coupons report statistics for last day
asHtml
asHtml
asHtml
asXml
Address.php
Address.php in Address.php
b
top
BUY_X_GET_Y_ACTION
BY_FIXED_ACTION
BY_PERCENT_ACTION
c
top
CART_FIXED_ACTION
catalogAttributeDeleteAfter
After delete attribute check rules that contains deleted attribute If rules was found they will seted to inactive and added notice to admin session
catalogAttributeSaveAfter
After save attribute if it is not used for promo rules already check rules for containing this attribute
collect
Collect information about free shipping for all address items
collect
Collect address discount amount
collectValidatedAttributes
COUPON_TYPE_AUTO
COUPON_TYPE_NO_COUPON
COUPON_TYPE_SPECIFIC
Codegenerator.php
Codegenerator.php in Codegenerator.php
CodegeneratorInterface.php
CodegeneratorInterface.php in CodegeneratorInterface.php
Coupon.php
Coupon.php in Coupon.php
Collection.php
Collection.php in Collection.php
Coupon.php
Coupon.php in Coupon.php
Collection.php
Collection.php in Collection.php
Collection.php
Collection.php in Collection.php
Collection.php
Collection.php in Collection.php
Collection.php
Collection.php in Collection.php
Customer.php
Customer.php in Customer.php
Collection.php
Collection.php in Collection.php
Collection.php
Collection.php in Collection.php
Combine.php
Combine.php in Combine.php
Combine.php
Combine.php in Combine.php
Customer.php
Customer.php in Customer.php
d
top
Data.php
Data.php in Data.php
Discount.php
Discount.php in Discount.php
Discount.php
Discount.php in Discount.php
e
top
Exception.php
Exception.php in Exception.php
f
top
fetch
Don't fetch anything
fetch
Add discount total information to address
fetch
Add information about free shipping for all address items to address object By default we not present such information
FREE_SHIPPING_ADDRESS
FREE_SHIPPING_ITEM
Freeshipping.php
Freeshipping.php in Freeshipping.php
Found.php
Found.php in Found.php
g
top
generateCode
Retrieve generated code
generateCode
Retrieve generated code
getActionsInstance
getActiveAttributes
Return codes of all product attributes currently used in promo rules for specified customer group and website
getAttributeElement
getCartFixedRuleUsedForAddress
Retrieve information about usage cart fixed rule by quote address
getConditionsInstance
getCouponCodeGenerator
Set code generator instance for auto generated coupons
getCoupons
Retrieve subordinate coupons
getCouponTypes
Retrieve coupon types
getCustomerUses
getDelimiter
Retrieve delimiter
getDelimiter
Retrieve delimiter
getInputType
getNewChildSelectOptions
getNewChildSelectOptions
getNewChildSelectOptions
getPrimaryCoupon
Retrieve rule's primary coupon
getResourceCollection
getStoreLabel
Get Rule label for specific store
getStoreLabel
Get rule label by specific store id
getStoreLabels
Get all existing rule labels
getStoreLabels
Get all existing rule labels
getValidator
Get quote item validator/processor object
getValueElementType
getValueElementType
getValueSelectOptions
i
top
init
Init validator Init process load collection of rules for specific website, customer group and coupon code
initTotals
Calculate quote totals for each rule and save results
l
top
loadArray
loadAttributeOptions
loadAttributeOptions
loadAttributeOptions
loadByCustomerCoupon
Load an object by customer_id & coupon_id
loadByCustomerRule
loadByCustomerRule
Get rule usage record for a customer
loadOperatorOptions
loadOperatorOptions
loadPost
Initialize rule model data from array
loadPrimaryByRule
Load primary coupon for specified rule
loadPrimaryByRule
Load primary coupon (is_primary = 1) for specified rule
loadValueOptions
loadValueOptions
m
top
Mage_SalesRule_Exception
Mage_SalesRule_Exception in Exception.php
Magento
Mage_SalesRule_Helper_Data
SalesRule data helper
Mage_SalesRule_Model_Coupon
Magento
Mage_SalesRule_Model_Coupon_Codegenerator
Magento
Mage_SalesRule_Model_Coupon_CodegeneratorInterface
Magento
Mage_SalesRule_Model_Mysql4_Coupon
Magento
Mage_SalesRule_Model_Mysql4_Coupon_Collection
Magento
Mage_SalesRule_Model_Mysql4_Coupon_Usage
Magento
Mage_SalesRule_Model_Mysql4_Report_Collection
Sales report coupons collection
Mage_SalesRule_Model_Mysql4_Report_Rule
Rule report resource model
Mage_SalesRule_Model_Mysql4_Report_Updatedat_Collection
Sales report coupons collection
Mage_SalesRule_Model_Mysql4_Rule
Magento
Mage_SalesRule_Model_Mysql4_Rule_Collection
Magento
Mage_SalesRule_Model_Mysql4_Rule_Customer
Magento
Mage_SalesRule_Model_Mysql4_Rule_Customer_Collection
Magento
Mage_SalesRule_Model_Mysql4_Rule_Product
Magento
Mage_SalesRule_Model_Mysql4_Rule_Product_Collection
Magento
Mage_SalesRule_Model_Observer
Magento
Mage_SalesRule_Model_Quote_Discount
Magento
Mage_SalesRule_Model_Quote_Freeshipping
Magento
Mage_SalesRule_Model_Quote_Nominal_Discount
Nominal discount total
Mage_SalesRule_Model_Rule
Magento
Mage_SalesRule_Model_Rule_Action_Collection
Magento
Mage_SalesRule_Model_Rule_Action_Product
Magento
Mage_SalesRule_Model_Rule_Condition_Address
Magento
Mage_SalesRule_Model_Rule_Condition_Combine
Magento
Mage_SalesRule_Model_Rule_Condition_Product
Magento
Mage_SalesRule_Model_Rule_Condition_Product_Combine
Magento
Mage_SalesRule_Model_Rule_Condition_Product_Found
Magento
Mage_SalesRule_Model_Rule_Condition_Product_Subselect
Magento
Mage_SalesRule_Model_Rule_Customer
Magento
Mage_SalesRule_Model_Rule_Product
Magento
Mage_SalesRule_Model_Validator
SalesRule Validator Model
mergeIds
Merge two sets of ids
mysql4-install-0.7.0.php
mysql4-install-0.7.0.php in mysql4-install-0.7.0.php
mysql4-install-1.4.0.0.0.php
mysql4-install-1.4.0.0.0.php in mysql4-install-1.4.0.0.0.php
mysql4-upgrade-0.7.0-0.7.1.php
mysql4-upgrade-0.7.0-0.7.1.php in mysql4-upgrade-0.7.0-0.7.1.php
mysql4-upgrade-0.7.1-0.7.2.php
mysql4-upgrade-0.7.1-0.7.2.php in mysql4-upgrade-0.7.1-0.7.2.php
mysql4-upgrade-0.7.2-0.7.3.php
mysql4-upgrade-0.7.2-0.7.3.php in mysql4-upgrade-0.7.2-0.7.3.php
mysql4-upgrade-0.7.3-0.7.4.php
mysql4-upgrade-0.7.3-0.7.4.php in mysql4-upgrade-0.7.3-0.7.4.php
mysql4-upgrade-0.7.4-0.7.5.php
mysql4-upgrade-0.7.4-0.7.5.php in mysql4-upgrade-0.7.4-0.7.5.php
mysql4-upgrade-0.7.5-0.7.6.php
mysql4-upgrade-0.7.5-0.7.6.php in mysql4-upgrade-0.7.5-0.7.6.php
mysql4-upgrade-0.7.6-0.7.7.php
mysql4-upgrade-0.7.6-0.7.7.php in mysql4-upgrade-0.7.6-0.7.7.php
mysql4-upgrade-0.7.7-0.7.8.php
mysql4-upgrade-0.7.7-0.7.8.php in mysql4-upgrade-0.7.7-0.7.8.php
mysql4-upgrade-0.7.8-0.7.9.php
mysql4-upgrade-0.7.8-0.7.9.php in mysql4-upgrade-0.7.8-0.7.9.php
mysql4-upgrade-0.7.9-0.7.10.php
mysql4-upgrade-0.7.9-0.7.10.php in mysql4-upgrade-0.7.9-0.7.10.php
mysql4-upgrade-0.7.10-0.7.11.php
mysql4-upgrade-0.7.10-0.7.11.php in mysql4-upgrade-0.7.10-0.7.11.php
mysql4-upgrade-0.7.11-0.7.12.php
mysql4-upgrade-0.7.11-0.7.12.php in mysql4-upgrade-0.7.11-0.7.12.php
mysql4-upgrade-1.4.0.0.0-1.4.0.0.1.php
mysql4-upgrade-1.4.0.0.0-1.4.0.0.1.php in mysql4-upgrade-1.4.0.0.0-1.4.0.0.1.php
mysql4-upgrade-1.4.0.0.1-1.4.0.0.2.php
mysql4-upgrade-1.4.0.0.1-1.4.0.0.2.php in mysql4-upgrade-1.4.0.0.1-1.4.0.0.2.php
mysql4-upgrade-1.4.0.0.2-1.4.0.0.3.php
mysql4-upgrade-1.4.0.0.2-1.4.0.0.3.php in mysql4-upgrade-1.4.0.0.2-1.4.0.0.3.php
mysql4-upgrade-1.4.0.0.3-1.4.0.0.4.php
mysql4-upgrade-1.4.0.0.3-1.4.0.0.4.php in mysql4-upgrade-1.4.0.0.3-1.4.0.0.4.php
mysql4-upgrade-1.4.0.0.4-1.4.0.0.5.php
mysql4-upgrade-1.4.0.0.4-1.4.0.0.5.php in mysql4-upgrade-1.4.0.0.4-1.4.0.0.5.php
mysql4-upgrade-1.4.0.0.5-1.4.0.0.6.php
mysql4-upgrade-1.4.0.0.5-1.4.0.0.6.php in mysql4-upgrade-1.4.0.0.5-1.4.0.0.6.php
o
top
Observer.php
Observer.php in Observer.php
p
top
prepareDescription
Convert address discount description array to string
process
Quote item discount calculation process
processFreeShipping
Quote item free shipping ability check This process not affect information about applied rules, coupon code etc.
processShippingAmount
Apply discounts to shipping amount
Product.php
Product.php in Product.php
Product.php
Product.php in Product.php
Product.php
Product.php in Product.php
Product.php
Product.php in Product.php
r
top
reset
Reset quote and address applied rules
Rule.php
Rule.php in Rule.php
Rule.php
Rule.php in Rule.php
Rule.php
Rule.php in Rule.php
s
top
Subselect.php
Subselect.php in Subselect.php
sales_order_afterPlace
sales_quote_address_discount_item
Process quote item (apply discount to item)
saveStoreLabels
Save rule labels for different store views
setActualProductAttributes
Save product attributes currently used in conditions and actions of rule
setCartFixedRuleUsedForAddress
Set information about usage cart fixed rule by quote address
setCouponCodeGenerator
Set code generator instance for auto generated coupons
setItemDiscountPrices
Set store and base price which will be used duering discount calculation to item object
setRule
Set rule instance
setValidationFilter
t
top
toArray
Returns rule as an array for admin interface
toString
TO_FIXED_ACTION
TO_PERCENT_ACTION
Rule type actions
u
top
Usage.php
Usage.php in Usage.php
updateCustomerCouponTimesUsed
Increment times_used counter
v
top
Validator.php
Validator.php in Validator.php
validate
validate
validate
Validate Product Rule Condition
validate
validate
validate
Validate Address Rule Condition
a b c d e f g i l m o p r s t u v _