コード例 #1
0
require_once "../shared/common.php";
$tab = "circulation";
$restrictToMbrAuth = TRUE;
$nav = "schoolDelete";
require_once "../shared/logincheck.php";
require_once "../classes/School.php";
require_once "../classes/SchoolQuery.php";
require_once "../classes/Localize.php";
$loc = new Localize(OBIB_LOCALE, $tab);
$sclid = $_GET["sclid"];
#****************************************************************************
#*  Getting school name
#****************************************************************************
$sclQ = new SchoolQuery();
$sclQ->connect();
$scl = $sclQ->get($sclid);
$sclQ->close();
$sclName = $scl->getSchoolName();
#****************************************************************************
#*  Getting checkout count
#****************************************************************************
$sclQ = new SchoolQuery();
$sclQ->connect();
$deleteConfirm = $sclQ->deleteConfirm($sclid);
$sclQ->close();
#**************************************************************************
#*  Show confirm page
#**************************************************************************
require_once "../shared/header.php";
if (!$deleteConfirm) {
    ?>
コード例 #2
0
ファイル: MemberQuery.php プロジェクト: vishnu35/Granthalay
 function getSchoolCode($schoolid)
 {
     $sclq = new SchoolQuery();
     $sclq->connect();
     $school = $sclq->get($schoolid);
     return $school->getSchoolCode();
 }