Exemple #1
1
function ResetPass()
{
    $result = BSC_persons::ResetPass($_POST["PersonID"]);
    echo Response::createObjectiveResponse($result, "");
    die;
}
Exemple #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;
}
Exemple #3
0
function ConfirmPersons()
{
    $PersonID = $_POST["PersonID"];
    $mode = $_POST["mode"];
    $obj = new BSC_persons($PersonID);
    $obj->IsActive = $mode == "1" ? "YES" : "NO";
    $result = $obj->EditPerson();
    //print_r(ExceptionHandler::PopAllExceptions());
    echo Response::createObjectiveResponse($result, "");
    die;
}