/** * * @return a list of objects. */ public static function listByFullName($division_id = '') { if ($division_id != '') { $items = Division::where('id', $division_id)->get(); } else { $items = Division::get(); } $key = 'id'; $value = 'full_name'; return Division::getListFields($items, $key, $value); }