PHP Class AlgoliaSearch\Laravel\ModelHelper

Afficher le fichier Open project: algolia/algoliasearch-laravel

Méthodes publiques

Свойство Type Description
$algolia

Méthodes publiques

Méthode Description
__construct ( AlgoliaManager $algolia )
getAlgoliaRecord ( Model $model, $indexName )
getFinalIndexName ( Model $model, $indexName )
getIndices ( Model $model, $indexName = null ) : Index
getIndicesTmp ( Model $model )
getKey ( Model $model )
getObjectId ( Model $model )
getObjectIdKey ( Model $model )
getReplicasSettings ( Model $model )
getSettings ( Model $model )
getSlavesSettings ( Model $model )
indexOnly ( Model $model, $index_name )
isAutoDelete ( Model $model )
isAutoIndex ( Model $model )
wouldBeIndexed ( Model $model, $index_name )

Private Methods

Méthode Description
getIndexName ( Model $model )
hasAlgoliaTrait ( Model $class, $autoload = false )

Method Details

__construct() public méthode

public __construct ( AlgoliaManager $algolia )
$algolia Vinkla\Algolia\AlgoliaManager

getAlgoliaRecord() public méthode

public getAlgoliaRecord ( Model $model, $indexName )
$model Illuminate\Database\Eloquent\Model

getFinalIndexName() public méthode

public getFinalIndexName ( Model $model, $indexName )
$model Illuminate\Database\Eloquent\Model

getIndices() public méthode

public getIndices ( Model $model, $indexName = null ) : Index
$model Illuminate\Database\Eloquent\Model
Résultat AlgoliaSearch\Index

getIndicesTmp() public méthode

public getIndicesTmp ( Model $model )
$model Illuminate\Database\Eloquent\Model

getKey() public méthode

public getKey ( Model $model )
$model Illuminate\Database\Eloquent\Model

getObjectId() public méthode

public getObjectId ( Model $model )
$model Illuminate\Database\Eloquent\Model

getObjectIdKey() public méthode

public getObjectIdKey ( Model $model )
$model Illuminate\Database\Eloquent\Model

getReplicasSettings() public méthode

public getReplicasSettings ( Model $model )
$model Illuminate\Database\Eloquent\Model

getSettings() public méthode

public getSettings ( Model $model )
$model Illuminate\Database\Eloquent\Model

getSlavesSettings() public méthode

public getSlavesSettings ( Model $model )
$model Illuminate\Database\Eloquent\Model

indexOnly() public méthode

public indexOnly ( Model $model, $index_name )
$model Illuminate\Database\Eloquent\Model

isAutoDelete() public méthode

public isAutoDelete ( Model $model )
$model Illuminate\Database\Eloquent\Model

isAutoIndex() public méthode

public isAutoIndex ( Model $model )
$model Illuminate\Database\Eloquent\Model

wouldBeIndexed() public méthode

public wouldBeIndexed ( Model $model, $index_name )
$model Illuminate\Database\Eloquent\Model

Property Details

$algolia public_oe property

public $algolia