public function getGalleryIdOptions() { return Gallery::select('id', 'name')->orderBy('name')->get()->lists('name', 'id'); }