PHP Класс Tdt\Core\Repositories\ElasticsearchDefinitionRepository

Наследование: extends BaseDefinitionRepository, implements Tdt\Core\Repositories\Interfaces\ElasticsearchDefinitionRepositoryInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$rules

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

Метод Описание
__construct ( ElasticsearchDefinition $model )
getAllParameters ( ) Retrieve the set of create parameters that make up a Mongo definition.
getCreateParameters ( ) Return the properties (= column fields) for this model.
store ( array $input )
update ( $model_id, array $input )

Приватные методы

Метод Описание
addOriginalFile ( array $input ) : array Check if we can get the original file by looking for the passed index and document type in the jobs (CSV is only supported for now to be a computed original file field)

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

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

public __construct ( ElasticsearchDefinition $model )
$model ElasticsearchDefinition

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

Include the parameters that make up relationships with this model.
public getAllParameters ( )

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

Return the properties (= column fields) for this model.
public getCreateParameters ( )

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

public store ( array $input )
$input array

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

public update ( $model_id, array $input )
$input array

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

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

protected $rules