ソースを参照

added checkId

develop
Robin Thoni 9年前
コミット
824afd7321
1個のファイルの変更8行の追加0行の削除
  1. 8
    0
      src/Utils/Business/LuBusiness.php

+ 8
- 0
src/Utils/Business/LuBusiness.php ファイルの表示

54
         return static::getDataAccess()->transact($function);
54
         return static::getDataAccess()->transact($function);
55
     }
55
     }
56
 
56
 
57
+    /**
58
+     * @param $id int
59
+     */
60
+    public static function checkIdExists($id)
61
+    {
62
+        static::getSingleById($id);
63
+    }
64
+
57
     /**
65
     /**
58
      * @param $id int
66
      * @param $id int
59
      * @return LuDbo
67
      * @return LuDbo

読み込み中…
キャンセル
保存