Commit ca49a6c7 authored by Nico Schallehn's avatar Nico Schallehn

tst

parent 4472ae0e
......@@ -49,15 +49,15 @@ class MediaDBViewerAPI{
}
return $ret;
}
function API_GetDataListe(){
public function API_GetDataListe(){
return APIGetDataListe($_GET['Table'], $_GET['Spalten'], $_GET['Order'], $_GET['Sort']);
}
function APIGetDataListe($Table, $Spalten = "*", $Order = "", $Sort){
public function APIGetDataListe($Table, $Spalten = "*", $Order = "", $Sort){
$entrys = $this->DB_Objekt->query("SELECT ".$Spalten." FROM ".$Table."");
$entryArray = $entrys->fetch_array(MYSQLI_ASSOC);
return $entryArray;
}
function API_serverinfo(){
public function API_serverinfo(){
return array( "time" => time(),
"time_h" => date(time()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment