\App\Repositories\EloquentAdminSettingRepositoryEloquent

Class AdminSettingRepositoryEloquent

Summary

Methods
Properties
Constants
model()
boot()
getAll()
saveSet()
getValue()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

model()

model() : string

Specify Model class name

Returns

string

boot()

boot() 

Boot up the repository, pushing criteria

getAll()

getAll() 

saveSet()

saveSet(  $id,   $request) : boolean

保存选项设置

Parameters

$id

int ID

$request

\Illuminate\Http\Request

Returns

boolean

getValue()

getValue(  $code) 

根据code获取值

Parameters

$code

string 键值