Exemplo n.º 1
0
 protected function findModel($id)
 {
     $sql = 'select * from ' . $this->currentTableName . ' where id=' . $id;
     return LuLu::queryOne($sql);
 }
Exemplo n.º 2
0
 public static function queryOne($sql)
 {
     return LuLu::queryOne($sql);
 }