PHP 클래스 Tdt\Core\Repositories\ElasticsearchDefinitionRepository

상속: extends BaseDefinitionRepository, implements Tdt\Core\Repositories\Interfaces\ElasticsearchDefinitionRepositoryInterface
파일 보기 프로젝트 열기: tdt/core

보호된 프로퍼티들

프로퍼티 타입 설명
$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