예제 #1
0
 protected function findModel($id)
 {
     $sql = 'select * from ' . $this->currentTableName . ' where id=' . $id;
     return LuLu::createCommand($sql)->queryOne();
 }