function ResetPass() { $result = BSC_persons::ResetPass($_POST["PersonID"]); echo Response::createObjectiveResponse($result, ""); die; }
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; }
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; }