Ignore:
Timestamp:
01/13/12 11:30:11 (13 years ago)
Author:
jkraaijeveld
Message:

Made most functionality from the demo branch work with new database.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/jos-branch/getInfo.php

    r208 r230  
    1515    return;
    1616}
     17echo $type;
    1718
    18 $dbi = new DatabaseInterface();
    1919
    20 $results = $dbi->get($type, array("uid" => $uid));
     20$results = $type::get(array("uid" => $uid));
    2121
    2222if (count($results) > 0) {      // check if DB object exists and assign it to variable
Note: See TracChangeset for help on using the changeset viewer.