PHP 클래스 Locker\Repository\Report\EloquentRepository

상속: extends Locker\Repository\Base\EloquentRepository, implements Locker\Repository\Report\Repository
파일 보기 프로젝트 열기: learninglocker/learninglocker

보호된 프로퍼티들

프로퍼티 타입 설명
$defaults
$model

공개 메소드들

메소드 설명
setQuery ( $lrs_id, [type] $query, [type] $field, [type] $wheres ) Sets the query.
statements ( String $id, array $opts ) : [[String Gets the statements selected by the report with the given ID and options.

보호된 메소드들

메소드 설명
constructStore ( Model $model, array $data, array $opts ) : Model Constructs a store.
constructUpdate ( Model $model, array $data, array $opts ) : Model Constructs a update.
format ( Model $model )
validateData ( array $data ) Validates data.

메소드 상세

constructStore() 보호된 메소드

Constructs a store.
protected constructStore ( Model $model, array $data, array $opts ) : Model
$model Illuminate\Database\Eloquent\Model Model to be stored.
$data array
$opts array
리턴 Illuminate\Database\Eloquent\Model

constructUpdate() 보호된 메소드

Constructs a update.
protected constructUpdate ( Model $model, array $data, array $opts ) : Model
$model Illuminate\Database\Eloquent\Model Model to be updated.
$data array
$opts array
리턴 Illuminate\Database\Eloquent\Model

format() 보호된 메소드

protected format ( Model $model )
$model Illuminate\Database\Eloquent\Model

setQuery() 공개 메소드

Sets the query.
public setQuery ( $lrs_id, [type] $query, [type] $field, [type] $wheres )
$query [type]
$field [type]
$wheres [type]

statements() 공개 메소드

Gets the statements selected by the report with the given ID and options.
public statements ( String $id, array $opts ) : [[String
$id String ID to match.
$opts array
리턴 [[String

validateData() 보호된 메소드

Validates data.
protected validateData ( array $data )
$data array

프로퍼티 상세

$defaults 보호되어 있는 프로퍼티

protected $defaults

$model 보호되어 있는 프로퍼티

protected $model