- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
public static function findById($id)
{
$model = self::where('id', $id)->get();
$count = $model->getIterator()->count();
if($count > 0) {
return $model->getIterator()->current();
}
return false;
}
OBEH 12.10.2018 02:25 # 0
guest8 12.10.2018 03:00 # −999
guest8 12.10.2018 03:02 # −999
guest8 12.10.2018 03:28 # −999
guest8 12.10.2018 04:07 # −999
guest8 12.10.2018 12:29 # −999
guest8 12.10.2018 13:54 # −999