예제 #1
0
 public static function filterAndPaginate($elector_key, $name)
 {
     return Afiliate::elector($elector_key)->name($name)->orderBy('id', 'DESC')->paginate(5);
 }
예제 #2
0
 public function filterAndPaginate($elctor_key, $name)
 {
     $afiliates = Afiliate::filterAndPaginate($elctor_key, $name);
     return $afiliates;
 }