PHP Class Algolia_Algoliasearch_Helper_Entity_Producthelper, algoliasearch-magento

Inheritance: extends Algolia_Algoliasearch_Helper_Entity_Helper
Show file Open project: algolia/algoliasearch-magento Class Usage Examples

Protected Properties

Property Type Description
$_currencies
$_predefinedProductAttributes
$_productAttributes

Public Methods

Method Description
getAllAttributes ( $add_empty_row = false )
getAllProductIds ( $storeId )
getObject ( Mage_Catalog_Model_Product $product )
getProductCollectionQuery ( $storeId, $productIds = null, $only_visible = true, $withoutData = false )
isAttributeEnabled ( $additionalAttributes, $attr_name )
setSettings ( $storeId, $saveToTmpIndicesToo = false )

Protected Methods

Method Description
formatPrice ( $price, $includeContainer, $currency_code )
getExcludedAttributes ( )
getFields ( $store )
getIndexNameSuffix ( )
getValueOrValueText ( Mage_Catalog_Model_Product $product, $name, Mage_Catalog_Model_Resource_Eav_Attribute $resource )
handlePrice ( Mage_Catalog_Model_Product &$product, $sub_products, &$customData )

Private Methods

Method Description
clearNoValues ( $customData, $rootLevel = true )
explodeSynomyms ( $synonyms )
setNoAttributes ( $attributes )

Method Details

formatPrice() protected method

protected formatPrice ( $price, $includeContainer, $currency_code )

getAllAttributes() public method

public getAllAttributes ( $add_empty_row = false )

getAllProductIds() public method

public getAllProductIds ( $storeId )

getExcludedAttributes() protected method

protected getExcludedAttributes ( )

getFields() protected method

protected getFields ( $store )

getIndexNameSuffix() protected method

protected getIndexNameSuffix ( )

getObject() public method

public getObject ( Mage_Catalog_Model_Product $product )
$product Mage_Catalog_Model_Product

getProductCollectionQuery() public method

public getProductCollectionQuery ( $storeId, $productIds = null, $only_visible = true, $withoutData = false )

getValueOrValueText() protected method

protected getValueOrValueText ( Mage_Catalog_Model_Product $product, $name, Mage_Catalog_Model_Resource_Eav_Attribute $resource )
$product Mage_Catalog_Model_Product
$resource Mage_Catalog_Model_Resource_Eav_Attribute

handlePrice() protected method

protected handlePrice ( Mage_Catalog_Model_Product &$product, $sub_products, &$customData )
$product Mage_Catalog_Model_Product

isAttributeEnabled() public method

public isAttributeEnabled ( $additionalAttributes, $attr_name )

setSettings() public method

public setSettings ( $storeId, $saveToTmpIndicesToo = false )

Property Details

$_currencies protected static property

protected static $_currencies

$_predefinedProductAttributes protected static property

protected static $_predefinedProductAttributes

$_productAttributes protected static property

protected static $_productAttributes