Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Rule_Block_Actions
  • Mage_Rule_Block_Conditions
  • Mage_Rule_Block_Editable
  • Mage_Rule_Block_Newchild
  • Mage_Rule_Block_Rule
  • Mage_Rule_Helper_Data
  • Mage_Rule_Model_Abstract
  • Mage_Rule_Model_Action_Abstract
  • Mage_Rule_Model_Action_Collection
  • Mage_Rule_Model_Condition_Abstract
  • Mage_Rule_Model_Condition_Combine
  • Mage_Rule_Model_Condition_Product_Abstract
  • Mage_Rule_Model_Environment
  • Mage_Rule_Model_Mysql4_Rule
  • Mage_Rule_Model_Mysql4_Rule_Collection
  • Mage_Rule_Model_Renderer_Actions
  • Mage_Rule_Model_Renderer_Conditions
  • Mage_Rule_Model_Resource_Abstract
  • Mage_Rule_Model_Resource_Rule_Collection_Abstract

Interfaces

  • Mage_Rule_Model_Action_Interface
  • Mage_Rule_Model_Condition_Interface
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Rule_Model_Condition_Combine

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@magentocommerce.com so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Varien_Object
Extended by Mage_Rule_Model_Condition_Abstract implements Mage_Rule_Model_Condition_Interface
Extended by Mage_Rule_Model_Condition_Combine

Direct known subclasses

Mage_CatalogRule_Model_Rule_Condition_Combine, Mage_SalesRule_Model_Rule_Condition_Combine, Mage_SalesRule_Model_Rule_Condition_Product_Combine

Indirect known subclasses

Mage_SalesRule_Model_Rule_Condition_Product_Found, Mage_SalesRule_Model_Rule_Condition_Product_Subselect
Package: Mage\Rule
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Rule/Model/Condition/Combine.php
Methods summary
protected Mage_Rule_Model_Condition_Abstract|boolean
# _getNewConditionModelInstance( string $modelClass )

Retrieve new object for each requested model. If model is requested first time, store it at static array.

Retrieve new object for each requested model. If model is requested first time, store it at static array.

It's made by performance reasons to avoid initialization of same models each time when rules are being processed.

Parameters

$modelClass
string
$modelClass

Returns

Mage_Rule_Model_Condition_Abstract|boolean
public
# __construct( )

Overrides

Mage_Rule_Model_Condition_Abstract::__construct()
public
# loadAggregatorOptions( )
public
# getAggregatorSelectOptions( )
public
# getAggregatorName( )
public
# getAggregatorElement( )
public
# loadValueOptions( )

Overrides

Mage_Rule_Model_Condition_Abstract::loadValueOptions()
public
# addCondition( mixed $condition )
public string
# getValueElementType( )

Value element type will define renderer for condition value element

Value element type will define renderer for condition value element

Returns

string

See

Varien_Data_Form_Element

Overrides

Mage_Rule_Model_Condition_Abstract::getValueElementType()
public array
# asArray( array $arrAttributes = array() )

Returns array containing conditions in the collection

Returns array containing conditions in the collection

Output example: array( 'type'=>'combine', 'operator'=>'ALL', 'value'=>'TRUE', 'conditions'=>array( {condition::asArray}, {combine::asArray}, {quote_item_combine::asArray} ) )

Returns

array

Overrides

Mage_Rule_Model_Condition_Abstract::asArray()
public
# asXml( mixed $containerKey = 'conditions', mixed $itemKey = 'condition' )

Overrides

Mage_Rule_Model_Condition_Abstract::asXml()
public
# loadArray( mixed $arr, mixed $key = 'conditions' )

Overrides

Mage_Rule_Model_Condition_Abstract::loadArray()
public
# loadXml( mixed $xml )

Overrides

Mage_Rule_Model_Condition_Abstract::loadXml()
public
# asHtml( )

Overrides

Mage_Rule_Model_Condition_Abstract::asHtml()
public
# getNewChildElement( )
public
# asHtmlRecursive( )

Overrides

Mage_Rule_Model_Condition_Abstract::asHtmlRecursive()
public
# asString( mixed $format = '' )

Overrides

Mage_Rule_Model_Condition_Abstract::asString()
public
# asStringRecursive( mixed $level = 0 )

Overrides

Mage_Rule_Model_Condition_Abstract::asStringRecursive()
public
# validate( Varien_Object $object )

Overrides

Mage_Rule_Model_Condition_Abstract::validate()
public
# setJsFormObject( mixed $form )
public array
# getConditions( )

Get conditions, if current prefix is undefined use 'conditions' key

Get conditions, if current prefix is undefined use 'conditions' key

Returns

array
public Mage_Rule_Model_Condition_Combine
# setConditions( array $conditions )

Set conditions, if current prefix is undefined use 'conditions' key

Set conditions, if current prefix is undefined use 'conditions' key

Parameters

$conditions
array
$conditions

Returns

Mage_Rule_Model_Condition_Combine
protected
# _getRecursiveChildSelectOption( )

Getter for "Conditions Combination" select option for recursive combines

Getter for "Conditions Combination" select option for recursive combines

Methods inherited from Mage_Rule_Model_Condition_Abstract
_compareValues(), getAddLinkHtml(), getAttributeElement(), getAttributeElementHtml(), getAttributeName(), getAttributeOptions(), getAttributeSelectOptions(), getChooserContainerHtml(), getDefaultOperatorInputByType(), getDefaultOperatorOptions(), getForm(), getInputType(), getNewChildName(), getNewChildSelectOptions(), getOperatorElement(), getOperatorElementHtml(), getOperatorForValidate(), getOperatorName(), getOperatorSelectOptions(), getRemoveLinkHtml(), getTypeElement(), getTypeElementHtml(), getValue(), getValueElement(), getValueElementHtml(), getValueElementRenderer(), getValueName(), getValueParsed(), getValueSelectOptions(), isArrayOperatorType(), loadAttributeOptions(), loadOperatorOptions(), validateAttribute()
Properties summary
protected static array $_conditionModels array()
#

Store all used condition models

Store all used condition models

Properties inherited from Mage_Rule_Model_Condition_Abstract
$_arrayInputTypes, $_defaultOperatorInputByType, $_defaultOperatorOptions, $_inputType
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0