예제 #1
0
 public function getidSliderOptions()
 {
     return Slider::select('id', 'name')->orderBy('name')->get()->lists('name', 'id');
 }