Esempio n. 1
0
function selectPendingPersons()
{
    $temp = BSC_persons::SelectAll("p.IsActive='PENDING'");
    $no = $temp->rowCount();
    echo dataReader::getJsonData($temp->fetchAll(), $no, $_GET["callback"]);
    die;
}
Esempio n. 2
0
function SelectPersonInfo()
{
    $temp = BSC_persons::SelectAll("PersonID=?", array($_SESSION["USER"]["PersonID"]));
    $temp = PdoDataAccess::fetchAll($temp, 0, 1);
    echo dataReader::getJsonData($temp, 1, $_GET["callback"]);
    die;
}