コード例 #1
0
ファイル: ContentAction.php プロジェクト: dw250100785/lulucms
 protected function findModel($id)
 {
     $sql = 'select * from ' . $this->currentTableName . ' where id=' . $id;
     return LuLu::queryOne($sql);
 }
コード例 #2
0
ファイル: DataSource.php プロジェクト: merlinxie/lulublog
 public static function queryOne($sql)
 {
     return LuLu::queryOne($sql);
 }