本文整理汇总了PHP中DmQuery::get1方法的典型用法代码示例。如果您正苦于以下问题:PHP DmQuery::get1方法的具体用法?PHP DmQuery::get1怎么用?PHP DmQuery::get1使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DmQuery
的用法示例。
在下文中一共展示了DmQuery::get1方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: H
#****************************************************************************
#* Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
unset($_SESSION["postVars"]);
unset($_SESSION["pageErrors"]);
$code = $_GET["code"];
$postVars["code"] = $code;
require_once "../classes/BiblioCopy.php";
require_once "../classes/BiblioCopyQuery.php";
include_once "../classes/Dm.php";
include_once "../classes/DmQuery.php";
include_once "../functions/errorFuncs.php";
$dmQ = new DmQuery();
$dmQ->connect();
$dm = $dmQ->get1("biblio_status_dm", $code);
$dmQ->close();
}
$postVars["description"] = $dm->getDescription();
?>
<form name="editmatstateform" method="POST" action="../admin/matstate_edit.php">
<input type="hidden" name="code" value="<?php
echo H($postVars["code"]);
?>
">
<table class="primary">
<tr>
<th colspan="2" nowrap="yes" align="left">
<?php
echo $loc->getText("admin_materials_delEditmaterialtype");
?>
示例2: H
/* This file is part of a copyrighted work; it is distributed with NO WARRANTY.
* See the file COPYRIGHT.html for more details.
*/
?>
<table class="primary">
<tr>
<th>Field</th>
<th>Value</th>
</tr>
<tr>
<td align="right" class="primary">Material Type</td>
<?php
$dmQ = new DmQuery();
$dmQ->connect();
$dm = $dmQ->get1("material_type_dm", $materialCd);
$material_type = $dm->getDescription();
$dmQ->close();
?>
<td align="Left" class="primary">
<?php
echo H($material_type);
?>
</td></tr>
<tr>
<td align="right" class="primary">Tag</td>
<td align="Left" class="primary">
<?php
printInputText("tag", 3, 3, $postVars, $pageErrors);
?>
<input type="button" onClick="javascript:popSecondary('../catalog/usmarc_select.php?retpage=<?php
示例3: H
$loc = new Localize(OBIB_LOCALE, $tab);
require_once "../shared/header.php";
#****************************************************************************
#* Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
unset($_SESSION["postVars"]);
unset($_SESSION["pageErrors"]);
$code = $_GET["code"];
$postVars["code"] = $code;
include_once "../classes/Dm.php";
include_once "../classes/DmQuery.php";
include_once "../functions/errorFuncs.php";
$dmQ = new DmQuery();
$dmQ->connect();
$dm = $dmQ->get1("material_type_dm", $code);
$postVars["description"] = $dm->getDescription();
$postVars["imageFile"] = $dm->getImageFile();
$dmQ->close();
} else {
require "../shared/get_form_vars.php";
}
?>
<form name="editmaterialform" method="POST" action="../admin/materials_edit.php">
<input type="hidden" name="code" value="<?php
echo H($postVars["code"]);
?>
">
<table class="primary">
<tr>
示例4: H
$loc = new Localize(OBIB_LOCALE, $tab);
require_once "../shared/header.php";
#****************************************************************************
#* Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
unset($_SESSION["postVars"]);
unset($_SESSION["pageErrors"]);
$code = $_GET["code"];
$postVars["code"] = $code;
include_once "../classes/Dm.php";
include_once "../classes/DmQuery.php";
include_once "../functions/errorFuncs.php";
$dmQ = new DmQuery();
$dmQ->connect();
$dm = $dmQ->get1("collection_dm", $code);
$postVars["description"] = $dm->getDescription();
$postVars["daysDueBack"] = $dm->getDaysDueBack();
$postVars["dailyLateFee"] = $dm->getDailyLateFee();
$dmQ->close();
} else {
require "../shared/get_form_vars.php";
}
?>
<form name="editcollectionform" method="POST" action="../admin/collections_edit.php">
<input type="hidden" name="code" value="<?php
echo H($postVars["code"]);
?>
">
<table class="primary">
示例5: H
$loc = new Localize(OBIB_LOCALE, $tab);
require_once "../shared/header.php";
#****************************************************************************
#* Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
unset($_SESSION["postVars"]);
unset($_SESSION["pageErrors"]);
$code = $_GET["code"];
$postVars["code"] = $code;
include_once "../classes/Dm.php";
include_once "../classes/DmQuery.php";
include_once "../functions/errorFuncs.php";
$dmQ = new DmQuery();
$dmQ->connect();
$dm = $dmQ->get1("member_fields_dm", $code);
$postVars["code"] = $dm->getCode();
$postVars["description"] = $dm->getDescription();
$dmQ->close();
} else {
require "../shared/get_form_vars.php";
}
?>
<form name="editfieldform" method="POST" action="../admin/member_fields_edit.php">
<input type="hidden" name="code" value="<?php
echo H($postVars["code"]);
?>
">
<table class="primary">
<tr>
示例6: H
$loc = new Localize(OBIB_LOCALE, $tab);
require_once "../shared/header.php";
#****************************************************************************
#* Checking for query string flag to read data from database.
#****************************************************************************
if (isset($_GET["code"])) {
unset($_SESSION["postVars"]);
unset($_SESSION["pageErrors"]);
$code = $_GET["code"];
$postVars["code"] = $code;
include_once "../classes/Dm.php";
include_once "../classes/DmQuery.php";
include_once "../functions/errorFuncs.php";
$dmQ = new DmQuery();
$dmQ->connect();
$dm = $dmQ->get1("mbr_classify_dm", $code);
$postVars["description"] = $dm->getDescription();
$postVars["max_fines"] = $dm->getMaxFines();
$dmQ->close();
} else {
require "../shared/get_form_vars.php";
}
?>
<form name="editclassificationform" method="POST" action="../admin/mbr_classify_edit.php">
<input type="hidden" name="code" value="<?php
echo H($postVars["code"]);
?>
">
<table class="primary">
<tr>