PHP Trait AlgoliaSearch\Laravel\AlgoliaEloquentTrait

Exibir arquivo Open project: algolia/algoliasearch-laravel

Public Methods

Method Description
__call ( $method, $parameters ) : mixed
__callStatic ( $method, $parameters ) : mixed
_browse ( $query, array $parameters = [] ) : mixed
_browseFrom ( $query, array $parameters = [], $cursor = null ) : mixed
_clearIndices ( )
_reindex ( boolean $safe = true, boolean $setSettings = true, boolean $mergeOldSettings = false, Closure $onInsert = null ) Static calls.
_search ( $query, array $parameters = [] ) : mixed
_setSettings ( $setToTmpIndices = false, $mergeOldSettings = false )
autoDelete ( )
autoIndex ( )
getAlgoliaRecordDefault ( $indexName ) Methods.
pushToIndex ( )
removeFromIndex ( )

Method Details

__call() public method

public __call ( $method, $parameters ) : mixed
$method
$parameters
return mixed Catch static calls call from within a class. Example : static::method();

__callStatic() public static method

public static __callStatic ( $method, $parameters ) : mixed
$method
$parameters
return mixed

_browse() public method

public _browse ( $query, array $parameters = [] ) : mixed
$query
$parameters array
return mixed

_browseFrom() public method

public _browseFrom ( $query, array $parameters = [], $cursor = null ) : mixed
$query
$parameters array
$cursor
return mixed

_clearIndices() public method

public _clearIndices ( )

_reindex() public method

Static calls.
public _reindex ( boolean $safe = true, boolean $setSettings = true, boolean $mergeOldSettings = false, Closure $onInsert = null )
$safe boolean
$setSettings boolean
$mergeOldSettings boolean
$onInsert Closure

_setSettings() public method

public _setSettings ( $setToTmpIndices = false, $mergeOldSettings = false )

autoDelete() public method

public autoDelete ( )

autoIndex() public method

public autoIndex ( )

getAlgoliaRecordDefault() public method

Methods.
public getAlgoliaRecordDefault ( $indexName )

pushToIndex() public method

public pushToIndex ( )

removeFromIndex() public method

public removeFromIndex ( )