Пример #1
0
 protected function findModel($id)
 {
     $sql = 'select * from ' . $this->currentTableName . ' where id=' . $id;
     return LuLu::queryOne($sql);
 }
Пример #2
0
 public static function queryOne($sql)
 {
     return LuLu::queryOne($sql);
 }