PHP 클래스 App\Repositories\Eloquent\EventRepositoryEloquent

상속: extends Prettus\Repository\Eloquent\BaseRepository, implements App\Contracts\Repositories\EventRepository
파일 보기 프로젝트 열기: qloog/laravel5-backend

공개 메소드들

메소드 설명
boot ( ) Boot up the repository, pushing criteria
destroy ( $id ) : mixed
getFields ( )
getFormFields ( integer $id ) : array Execute the job.
model ( ) : string Specify Model class name

보호된 메소드들

메소드 설명
fieldsFromModel ( integer $id, array $fields ) : array Return the field values from the model

메소드 상세

boot() 공개 메소드

Boot up the repository, pushing criteria
public boot ( )

destroy() 공개 메소드

public destroy ( $id ) : mixed
$id
리턴 mixed

fieldsFromModel() 보호된 메소드

Return the field values from the model
protected fieldsFromModel ( integer $id, array $fields ) : array
$id integer
$fields array
리턴 array

getFields() 공개 메소드

public getFields ( )

getFormFields() 공개 메소드

Execute the job.
public getFormFields ( integer $id ) : array
$id integer
리턴 array of fieldnames => values

model() 공개 메소드

Specify Model class name
public model ( ) : string
리턴 string