/** * Returns dropdown options for the default category * * @return array */ public function getDefaultOptions() { return CategoryModel::orderBy('name')->lists('name', 'id'); }