PHP Class Algolia_Algoliasearch_Helper_Data, algoliasearch-magento

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

Protected Properties

Property Type Description
$additionalsections_helper Algolia_Algoliasearch_Helper_Entity_Additionalsectionshelper
$algolia_helper Algolia_Algoliasearch_Helper_Algoliahelper
$category_helper Algolia_Algoliasearch_Helper_Entity_Categoryhelper
$config Algolia_Algoliasearch_Helper_Config
$logger Algolia_Algoliasearch_Helper_Logger
$page_helper Algolia_Algoliasearch_Helper_Entity_Pagehelper
$product_helper Algolia_Algoliasearch_Helper_Entity_Producthelper
$suggestion_helper Algolia_Algoliasearch_Helper_Entity_Suggestionhelper

Public Methods

Method Description
__construct ( )
deleteCategoriesStoreIndices ( $storeId = null )
deleteProductsStoreIndices ( $storeId = null )
escapeJsTranslatedString ( Mage_Core_Block_Template $template, $string, $useAddSlashes = false )
getSearchResult ( $query, $storeId )
moveProductsIndex ( $storeId )
moveStoreSuggestionIndex ( $storeId )
rebuildStoreAdditionalSectionsIndex ( $storeId )
rebuildStoreCategoryIndex ( $storeId, $categoryIds = null )
rebuildStoreCategoryIndexPage ( $storeId, $collectionDefault, $page, $pageSize, $emulationInfo = null )
rebuildStorePageIndex ( $storeId )
rebuildStoreProductIndex ( $storeId, $productIds )
rebuildStoreProductIndexPage ( $storeId, $collectionDefault, $page, $pageSize, $emulationInfo = null, $productIds = null, $useTmpIndex = false )
rebuildStoreSuggestionIndex ( $storeId )
rebuildStoreSuggestionIndexPage ( $storeId, $collectionDefault, $page, $pageSize )
removeCategories ( $ids, $store_id = null )
saveConfigurationToAlgolia ( $storeId, $saveToTmpIndicesToo = false )
startEmulation ( $storeId )
stopEmulation ( $info )

Protected Methods

Method Description
getProductsRecords ( $storeId, $collection, $potentiallyDeletedProductsIds = [] )

Method Details

__construct() public method

public __construct ( )

deleteCategoriesStoreIndices() public method

public deleteCategoriesStoreIndices ( $storeId = null )

deleteProductsStoreIndices() public method

public deleteProductsStoreIndices ( $storeId = null )

escapeJsTranslatedString() public method

public escapeJsTranslatedString ( Mage_Core_Block_Template $template, $string, $useAddSlashes = false )
$template Mage_Core_Block_Template

getProductsRecords() protected method

protected getProductsRecords ( $storeId, $collection, $potentiallyDeletedProductsIds = [] )

getSearchResult() public method

public getSearchResult ( $query, $storeId )

moveProductsIndex() public method

public moveProductsIndex ( $storeId )

moveStoreSuggestionIndex() public method

public moveStoreSuggestionIndex ( $storeId )

rebuildStoreAdditionalSectionsIndex() public method

rebuildStoreCategoryIndex() public method

public rebuildStoreCategoryIndex ( $storeId, $categoryIds = null )

rebuildStoreCategoryIndexPage() public method

public rebuildStoreCategoryIndexPage ( $storeId, $collectionDefault, $page, $pageSize, $emulationInfo = null )

rebuildStorePageIndex() public method

public rebuildStorePageIndex ( $storeId )

rebuildStoreProductIndex() public method

public rebuildStoreProductIndex ( $storeId, $productIds )

rebuildStoreProductIndexPage() public method

public rebuildStoreProductIndexPage ( $storeId, $collectionDefault, $page, $pageSize, $emulationInfo = null, $productIds = null, $useTmpIndex = false )

rebuildStoreSuggestionIndex() public method

public rebuildStoreSuggestionIndex ( $storeId )

rebuildStoreSuggestionIndexPage() public method

public rebuildStoreSuggestionIndexPage ( $storeId, $collectionDefault, $page, $pageSize )

removeCategories() public method

public removeCategories ( $ids, $store_id = null )

saveConfigurationToAlgolia() public method

public saveConfigurationToAlgolia ( $storeId, $saveToTmpIndicesToo = false )

startEmulation() public method

public startEmulation ( $storeId )

stopEmulation() public method

public stopEmulation ( $info )

Property Details

$additionalsections_helper protected property

protected Algolia_Algoliasearch_Helper_Entity_Additionalsectionshelper $additionalsections_helper
return Algolia_Algoliasearch_Helper_Entity_Additionalsectionshelper

$algolia_helper protected property

protected Algolia_Algoliasearch_Helper_Algoliahelper $algolia_helper
return Algolia_Algoliasearch_Helper_Algoliahelper

$category_helper protected property

protected Algolia_Algoliasearch_Helper_Entity_Categoryhelper $category_helper
return Algolia_Algoliasearch_Helper_Entity_Categoryhelper

$config protected property

protected Algolia_Algoliasearch_Helper_Config $config
return Algolia_Algoliasearch_Helper_Config

$logger protected property

protected Algolia_Algoliasearch_Helper_Logger $logger
return Algolia_Algoliasearch_Helper_Logger

$page_helper protected property

protected Algolia_Algoliasearch_Helper_Entity_Pagehelper $page_helper
return Algolia_Algoliasearch_Helper_Entity_Pagehelper

$product_helper protected property

protected Algolia_Algoliasearch_Helper_Entity_Producthelper $product_helper
return Algolia_Algoliasearch_Helper_Entity_Producthelper

$suggestion_helper protected property

protected Algolia_Algoliasearch_Helper_Entity_Suggestionhelper $suggestion_helper
return Algolia_Algoliasearch_Helper_Entity_Suggestionhelper