当前位置: 首页>>代码示例>>PHP>>正文


PHP DmQuery::get1方法代码示例

本文整理汇总了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");
?>
开发者ID:Giordano-Bruno,项目名称:GiordanoBruno,代码行数:31,代码来源:matstat_edit_form.php

示例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 
开发者ID:AevumDecessus,项目名称:docker-openbiblio,代码行数:30,代码来源:custom_marc_form_fields.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>
开发者ID:AevumDecessus,项目名称:docker-openbiblio,代码行数:31,代码来源:materials_edit_form.php

示例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">
开发者ID:AevumDecessus,项目名称:docker-openbiblio,代码行数:31,代码来源:collections_edit_form.php

示例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>
开发者ID:AevumDecessus,项目名称:docker-openbiblio,代码行数:31,代码来源:member_fields_edit_form.php

示例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>
开发者ID:Giordano-Bruno,项目名称:GiordanoBruno,代码行数:31,代码来源:mbr_classify_edit_form.php


注:本文中的DmQuery::get1方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。