PHP Class Algolia_Algoliasearch_Helper_Algoliahelper, algoliasearch-magento

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

Protected Properties

Property Type Description
$client AlgoliaSearch\Client
$config Algolia_Algoliasearch_Helper_Config

Public Methods

Method Description
__construct ( )
addObjects ( $objects, $index_name )
deleteIndex ( $index_name )
deleteObjects ( $ids, $index_name )
generateSearchSecuredApiKey ( $key, $params = [] )
getIndex ( $name )
handleTooBigRecords ( &$objects, $index_name )
listIndexes ( )
mergeSettings ( $index_name, $settings )
moveIndex ( $index_name_tmp, $index_name )
query ( $index_name, $q, $params )
resetCredentialsFromConfig ( )
setSettings ( $indexName, $settings )
setSynonyms ( $index_name, $synonyms )

Method Details

__construct() public method

public __construct ( )

addObjects() public method

public addObjects ( $objects, $index_name )

deleteIndex() public method

public deleteIndex ( $index_name )

deleteObjects() public method

public deleteObjects ( $ids, $index_name )

generateSearchSecuredApiKey() public method

public generateSearchSecuredApiKey ( $key, $params = [] )

getIndex() public method

public getIndex ( $name )

handleTooBigRecords() public method

public handleTooBigRecords ( &$objects, $index_name )

listIndexes() public method

public listIndexes ( )

mergeSettings() public method

public mergeSettings ( $index_name, $settings )

moveIndex() public method

public moveIndex ( $index_name_tmp, $index_name )

query() public method

public query ( $index_name, $q, $params )

resetCredentialsFromConfig() public method

setSettings() public method

public setSettings ( $indexName, $settings )

setSynonyms() public method

public setSynonyms ( $index_name, $synonyms )

Property Details

$client protected_oe property

protected Client,AlgoliaSearch $client
return AlgoliaSearch\Client

$config protected_oe property

protected Algolia_Algoliasearch_Helper_Config $config
return Algolia_Algoliasearch_Helper_Config