PHP Класс Algolia_Algoliasearch_Model_Indexer_Abstract, algoliasearch-magento

Наследование: extends Mage_Index_Model_Indexer_Abstract
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$enableQueueMsg
$engine Algolia_Algoliasearch_Model_Resource_Engine

Открытые методы

Метод Описание
__construct ( )
reindexSpecificCategories ( array | string | integer $updateCategoryIds ) This function will update all the requested categories and their child categories in Algolia. You can provide either a single category ID or an array of category IDs. A category ID should be either a string or an integer.
reindexSpecificProducts ( array | string | integer $updateProductIds ) This function will update all the requested products and their parent products in Algolia. You can provide either a single product ID or an array of product IDs. A product ID should be either a string or an integer.

Защищенные методы

Метод Описание
_getResource ( ) : Mage_CatalogSearch_Model_Resource_Indexer_Fulltext
_isProductComposite ( integer $productId ) : boolean Check whether a product is composite.

Описание методов

__construct() публичный Метод

public __construct ( )

_getResource() защищенный Метод

protected _getResource ( ) : Mage_CatalogSearch_Model_Resource_Indexer_Fulltext
Результат Mage_CatalogSearch_Model_Resource_Indexer_Fulltext

_isProductComposite() защищенный Метод

Check whether a product is composite.
protected _isProductComposite ( integer $productId ) : boolean
$productId integer
Результат boolean

reindexSpecificCategories() публичный Метод

This function will update all the requested categories and their child categories in Algolia. You can provide either a single category ID or an array of category IDs. A category ID should be either a string or an integer.
public reindexSpecificCategories ( array | string | integer $updateCategoryIds )
$updateCategoryIds array | string | integer

reindexSpecificProducts() публичный Метод

This function will update all the requested products and their parent products in Algolia. You can provide either a single product ID or an array of product IDs. A product ID should be either a string or an integer.
public reindexSpecificProducts ( array | string | integer $updateProductIds )
$updateProductIds array | string | integer

Описание свойств

$enableQueueMsg защищенное свойство

protected $enableQueueMsg

$engine защищенное свойство

protected Algolia_Algoliasearch_Model_Resource_Engine $engine
Результат Algolia_Algoliasearch_Model_Resource_Engine