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


PHP XMLlist类代码示例

本文整理汇总了PHP中XMLlist的典型用法代码示例。如果您正苦于以下问题:PHP XMLlist类的具体用法?PHP XMLlist怎么用?PHP XMLlist使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了XMLlist类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: show_select_languages

function show_select_languages()
{
    global $common_tpl_lang_select, $msg, $opac_show_languages, $include_path, $lang;
    $show_languages = substr($opac_show_languages, 0, 1);
    if ($show_languages == 1) {
        $languages = explode(",", substr($opac_show_languages, 2));
        $langues = new XMLlist("{$include_path}/messages/languages.xml");
        $langues->analyser();
        $clang = $langues->table;
        for ($i = 0; $i < sizeof($languages); $i++) {
            $lang_combo[$languages[$i]] = $clang[$languages[$i]];
        }
        $common_tpl_lang_select = str_replace("!!msg_lang_select!!", $msg["common_tpl_lang_select"], $common_tpl_lang_select);
        $combo = "<form method=\"post\" action=\"index.php\" >";
        $combo .= "<select name=\"lang_sel\" onchange=\"this.form.submit();\">";
        while (list($cle, $value) = each($lang_combo)) {
            if (strcmp($cle, $lang) != 0) {
                $combo .= "<option value='{$cle}'>{$value}</option>";
            } else {
                $combo .= "<option value='{$cle}' selected>{$value} </option>";
            }
        }
        $combo .= "</select></form>";
        $common_tpl_lang_select = str_replace("!!lang_select!!", $combo, $common_tpl_lang_select);
        // end combo box
        return $common_tpl_lang_select;
    } else {
        return "";
    }
}
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:30,代码来源:languages.inc.php

示例2: make_empr_lang_combo

function make_empr_lang_combo($lang = '')
{
    // retourne le combo des langues avec la langue $lang selectionn?e
    // n?cessite l'inclusion de XMLlist.class.php (normalement c'est d?j? le cas partout
    global $include_path;
    global $msg;
    global $charset;
    // langue par defaut
    if (!$lang) {
        $lang = "fr_FR";
    }
    $langues = new XMLlist("{$include_path}/messages/languages.xml");
    $langues->analyser();
    $clang = $langues->table;
    $combo = "<select name='form_empr_lang' id='empr_lang'>";
    while (list($cle, $value) = each($clang)) {
        // arabe seulement si on est en utf-8
        if ($charset != 'utf-8' and $cle != 'ar' or $charset == 'utf-8') {
            if (strcmp($cle, $lang) != 0) {
                $combo .= "<option value='{$cle}'>{$value} ({$cle})</option>";
            } else {
                $combo .= "<option value='{$cle}' selected>{$value} ({$cle})</option>";
            }
        }
    }
    $combo .= "</select>";
    return $combo;
}
开发者ID:bouchra012,项目名称:PMB,代码行数:28,代码来源:empr_func.inc.php

示例3: set_language

 function set_language($lang)
 {
     global $msg;
     global $base_path;
     $messages = new XMLlist($base_path . "/includes/messages/{$lang}.xml", 0);
     $messages->analyser();
     $msg = $messages->table;
 }
开发者ID:bouchra012,项目名称:PMB,代码行数:8,代码来源:localisation.inc.php

示例4: get_messages

 function get_messages($connector_path)
 {
     global $lang;
     if (file_exists($connector_path . "/messages/" . $lang . ".xml")) {
         $file_name = $connector_path . "/messages/" . $lang . ".xml";
     } else {
         if (file_exists($connector_path . "/messages/fr_FR.xml")) {
             $file_name = $connector_path . "/messages/fr_FR.xml";
         }
     }
     if ($file_name) {
         $xmllist = new XMLlist($file_name);
         $xmllist->analyser();
         $this->msg = $xmllist->table;
     }
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:16,代码来源:connecteurs.class.php

示例5: get_messages

 function get_messages($lang_path)
 {
     global $lang;
     global $base_path;
     if (file_exists($base_path . $lang_path . "/messages/" . $lang . ".xml")) {
         $file_name = $base_path . $lang_path . "/messages/" . $lang . ".xml";
     } else {
         if (file_exists($base_path . $lang_path . "/messages/fr_FR.xml")) {
             $file_name = $base_path . $lang_path . "/messages/fr_FR.xml";
         }
     }
     if ($file_name) {
         $xmllist = new XMLlist($file_name);
         $xmllist->analyser();
         return $xmllist->table;
     }
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:17,代码来源:opac_filters.class.php

示例6: convert_diacrit

function convert_diacrit($string)
{
    global $tdiac;
    global $charset;
    global $include_path;
    if (!$string) {
        return;
    }
    if (!$tdiac) {
        $tdiac = new XMLlist("{$include_path}/messages/diacritique{$charset}.xml");
        $tdiac->analyser();
    }
    foreach ($tdiac->table as $wreplace => $wdiacritique) {
        if (pmb_preg_match("/{$wdiacritique}/", $string)) {
            $string = pmb_preg_replace("/{$wdiacritique}/", $wreplace, $string);
        }
    }
    return $string;
}
开发者ID:hogsim,项目名称:PMB,代码行数:19,代码来源:misc.inc.php

示例7: process

 function process($source_id, $pmb_user_id, $json_input)
 {
     global $charset;
     global $wsdl;
     global $class_path;
     $the_source = $this->connector_object->instantiate_source_class($source_id);
     if (!isset($the_source->config["exported_functions"])) {
         $this->return_error("Source wasn't configured");
     }
     $allowed_methods = array();
     foreach ($the_source->config["exported_functions"] as $aallowed_method) {
         $allowed_methods[] = $aallowed_method['group'] . '_' . $aallowed_method['name'];
     }
     $json_operation = '';
     $request = $json_input;
     if ($request) {
         $json_operation = $request["method"];
     }
     //Instantions la classe qui contient les fonctions
     $ess = new external_services(true);
     if ($json_operation && $ess->operation_need_messages($json_operation)) {
         //Allons chercher les messages
         global $class_path;
         global $include_path;
         global $lang;
         require_once "{$class_path}/XMLlist.class.php";
         $messages = new XMLlist("{$include_path}/messages/{$lang}.xml", 0);
         $messages->analyser();
         global $msg;
         $msg = $messages->table;
     }
     if ($json_operation) {
         $proxy = $ess->get_proxy($pmb_user_id, array($json_operation));
     } else {
         $proxy = $ess->get_proxy($pmb_user_id);
     }
     $proxy->input_charset = 'utf-8';
     jsonRPCServer::handle($proxy, $allowed_methods, $json_input) or print 'No request';
 }
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:39,代码来源:apijsonrpc_jsonrpcserver.class.php

示例8: zattr_form

function zattr_form($zbib_id = "", $zattr_libelle = "", $zattr_attr = "")
{
    global $msg;
    global $admin_zattr_form;
    global $include_path;
    global $lang;
    global $charset;
    // loading the localized attributes labels
    $la = new XMLlist($include_path . "/marc_tables/z3950attributes.xml", 0);
    $la->analyser();
    $codici = $la->table;
    if (!$zattr_libelle) {
        $admin_zattr_form = str_replace('!!form_title!!', $msg["zattr_ajouter_attr"], $admin_zattr_form);
        $admin_zattr_form = str_replace('!!bib_id!!', "", $admin_zattr_form);
        // here the combo box must be enabled because the user is adding a new attr.
        $select = "<div class='row'>\n\t\t\t\t<div class='colonne4' align='right'>\n\t\t\t\t\t<label class='etiquette'>{$msg['zattr_libelle']} &nbsp;</label>\n\t\t\t\t</div>\n\t\t\t\t<div class='colonne_suite'> ";
        $select .= "<select name='form_attr_libelle'>\t";
        while (list($codeattr, $libelle) = each($codici)) {
            if ($zattr_libelle == $codeattr) {
                $select .= "<option value='" . htmlentities($codeattr, ENT_QUOTES, $charset) . "' SELECTED>" . htmlentities($msg["z3950_" . $libelle], ENT_QUOTES, $charset) . "</option>";
            } else {
                $select .= "<option value='" . htmlentities($codeattr, ENT_QUOTES, $charset) . "'>" . htmlentities($msg["z3950_" . $libelle], ENT_QUOTES, $charset) . "</option>";
            }
        }
        $select .= "</select></div></div>";
    } else {
        $admin_zattr_form = str_replace('!!form_title!!', $msg["zattr_modifier_attr"] . " : " . $msg["z3950_" . $codici[$zattr_libelle]], $admin_zattr_form);
        $admin_zattr_form = str_replace('!!bib_id!!', $zbib_id, $admin_zattr_form);
        // here the combo box doesn't appear because the user can't change the attr. label
        $select = "<input type=hidden name=form_attr_libelle value='{$zattr_libelle}'>";
    }
    $admin_zattr_form = str_replace('!!code!!', $select, $admin_zattr_form);
    $admin_zattr_form = str_replace('!!attr_bib_id!!', $zbib_id, $admin_zattr_form);
    $admin_zattr_form = str_replace('!!attr_libelle!!', $zattr_libelle, $admin_zattr_form);
    $admin_zattr_form = str_replace('!!attr_attr!!', $zattr_attr, $admin_zattr_form);
    $admin_zattr_form = str_replace('!!local_attr_libelle!!', $msg["z3950_" . $codici[$zattr_libelle]], $admin_zattr_form);
    print confirmation_delete("./admin.php?categ=z3950&sub=zattr&action=del&");
    print $admin_zattr_form;
}
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:39,代码来源:zattr.inc.php

示例9: connection_mysql

require_once "{$include_path}/mysql_connect.inc.php";
$dbh = connection_mysql();
//require_once("$include_path/sessions.inc.php");
require_once "{$include_path}/misc.inc.php";
//require_once("$javascript_path/misc.inc.php");
//require_once("$include_path/user_error.inc.php");
// classe de gestion de l'audit des objets
//require_once("$class_path/audit.class.php");
include "{$include_path}/start.inc.php";
$lang = "fr_FR";
$helpdir = $lang;
// localisation (fichier XML)
$messages = new XMLlist("{$include_path}/messages/{$lang}.xml", 0);
$messages->analyser();
$msg = $messages->table;
$descriptions = new XMLlist("affiche_contenu_params.xml", 0);
$descriptions->analyser();
$desc = $descriptions->table;
require "{$include_path}/templates/common.tpl.php";
require_once $include_path . "/parser.inc.php";
function param_form($id_param = 0, $type_param = "", $sstype_param = "", $valeur_param = "", $comment_param = "")
{
    global $msg;
    global $admin_param_form;
    $title = $msg[1606];
    // modification
    $admin_param_form = str_replace('!!form_title!!', $title, $admin_param_form);
    $admin_param_form = str_replace('!!id_param!!', $id_param, $admin_param_form);
    $admin_param_form = str_replace('!!type_param!!', $type_param, $admin_param_form);
    $admin_param_form = str_replace('!!sstype_param!!', $sstype_param, $admin_param_form);
    $admin_param_form = str_replace('!!valeur_param!!', $valeur_param, $admin_param_form);
开发者ID:BackupTheBerlios,项目名称:pmbdoc,代码行数:31,代码来源:affiche_contenu_params.php

示例10: update_authors_num_opsys

function update_authors_num_opsys($aut_, $responsability_type)
{
    global $notice_id;
    global $table_responsability_function;
    global $lang, $include_path;
    global $xml_changement;
    if (!is_array($table_responsability_function)) {
        //$table_responsability_function=unserialize_file("table_responsability_function.tmp");
        $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/function.xml");
        $parser->analyser();
        $table = $parser->table;
        $table_responsability_function = $parser->tablefav;
        if ($table_responsability_function) {
            foreach ($table_responsability_function as $key => $val) {
                $table_responsability_function[$key] = $table[$key];
            }
        }
    }
    //print"<pre>";print_r($aut_);print"</pre>";
    for ($i = 0; $i < count($aut_); $i++) {
        if ($aut_[$i][3] != "") {
            $aut_i_4 = str_replace('&', "", $aut_[$i]['4']);
            $aut_i_p = str_replace('&', "", $aut_[$i]['p']);
            $requete = "select author_id from authors, responsability where author_name='" . addslashes($aut_[$i][a]) . "' and author_rejete='" . addslashes($aut_[$i][b]) . "' \n\t\t\t\tand responsability_notice='{$notice_id}' and responsability_author = author_id";
            $result = pmb_mysql_query($requete);
            if ($row = pmb_mysql_fetch_row($result)) {
                $author_id = $row[0];
                $requete = "update authors set author_comment='" . addslashes($aut_[$i][3]) . "' where author_id='{$author_id}' ";
                pmb_mysql_query($requete);
                if ($aut_i_4 >= 900) {
                    $index = '';
                    if ($table_responsability_function) {
                        foreach ($table_responsability_function as $key => $val) {
                            if ($table_responsability_function[$key] == $aut_i_4) {
                                $index = $key;
                                break;
                            }
                        }
                    }
                    if (!$index) {
                        // creer
                        $index = count($table_responsability_function) + 900;
                        $table_responsability_function[$index] = $aut_i_4;
                        $xml_changement = 1;
                    }
                    $requete = "update responsability SET responsability_fonction='{$index}' where responsability_notice='{$notice_id}'\n\t\t\t\t\tand responsability_author = {$author_id} and responsability_fonction=" . $aut_i_4;
                    $result = pmb_mysql_query($requete);
                }
                if ($aut_i_p != "") {
                    $requete = "delete from responsability where responsability_fonction='' and responsability_author = {$author_id} and responsability_type={$responsability_type} and  responsability_notice='{$notice_id}'";
                    $result = pmb_mysql_query($requete);
                    $index = '';
                    if ($table_responsability_function) {
                        foreach ($table_responsability_function as $key => $val) {
                            if ($table_responsability_function[$key] == $aut_i_p) {
                                $index = $key;
                                break;
                            }
                        }
                    }
                    if (!$index) {
                        // creer
                        $index = count($table_responsability_function) + 900;
                        $table_responsability_function[$index] = $aut_i_p;
                        $xml_changement = 1;
                    }
                    //$requete="update responsability SET responsability_fonction='$index' where responsability_notice='$notice_id' and responsability_author = $author_id";
                    $requete = "insert into responsability SET responsability_fonction='{$index}' , responsability_notice='{$notice_id}' , responsability_author = {$author_id}, responsability_type={$responsability_type}";
                    $result = pmb_mysql_query($requete);
                }
            }
        }
    }
}
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:74,代码来源:func_opsys_morges.inc.php

示例11: get_label

 function get_label($type)
 {
     global $lang, $include_path;
     global $dbh;
     global $type_page_opac;
     if (!count($type_page_opac)) {
         if (file_exists($include_path . "/interpreter/statopac/{$lang}.xml")) {
             $liste_libelle = new XMLlist($include_path . "/interpreter/statopac/{$lang}.xml");
         } else {
             $liste_libelle = new XMLlist($include_path . "/interpreter/statopac/fr_FR.xml");
         }
         $liste_libelle->analyser();
         $type_page_opac = $liste_libelle->table;
         $query = "select id_page, page_name from cms_pages";
         $result = pmb_mysql_query($query, $dbh);
         if (pmb_mysql_num_rows($result)) {
             while ($row = pmb_mysql_fetch_object($result)) {
                 $type_page_opac["25" . str_pad($row->id_page, 2, "0", STR_PAD_LEFT)] = $row->page_name;
             }
         }
     }
     return $type_page_opac[$type];
 }
开发者ID:hogsim,项目名称:PMB,代码行数:23,代码来源:cms_module_common_datasource_typepage_opac.class.php

示例12: get_form


//.........这里部分代码省略.........
     $message_folder = "";
     if ($pmb_notice_img_folder_id) {
         $req = "select repertoire_path from upload_repertoire where repertoire_id ='" . $pmb_notice_img_folder_id . "'";
         $res = pmb_mysql_query($req);
         if (pmb_mysql_num_rows($res)) {
             $rep = pmb_mysql_fetch_object($res);
             if (!is_dir($rep->repertoire_path)) {
                 $notice_img_folder_error = 1;
             }
         } else {
             $notice_img_folder_error = 1;
         }
         if ($notice_img_folder_error) {
             if (SESSrights & ADMINISTRATION_AUTH) {
                 $requete = "select * from parametres where gestion=0 and type_param='pmb' and sstype_param='notice_img_folder_id' ";
                 $res = pmb_mysql_query($requete);
                 $i = 0;
                 if ($param = pmb_mysql_fetch_object($res)) {
                     $message_folder = " <a class='erreur' href='./admin.php?categ=param&action=modif&id_param=" . $param->id_param . "' >" . $msg['notice_img_folder_admin_no_access'] . "</a> ";
                 }
             } else {
                 $message_folder = $msg['notice_img_folder_no_access'];
             }
         }
     }
     $ptab[10] = str_replace('!!message_folder!!', $message_folder, $ptab[10]);
     // langue de la notice
     global $lang, $xmlta_indexation_lang;
     $user_lang = $this->indexation_lang;
     if (!$user_lang) {
         $user_lang = $xmlta_indexation_lang;
     }
     //	if(!$user_lang) $user_lang="fr_FR";
     $langues = new XMLlist("{$include_path}/messages/languages.xml");
     $langues->analyser();
     $clang = $langues->table;
     $combo = "<select name='indexation_lang' id='indexation_lang' class='saisie-20em' >";
     if (!$user_lang) {
         $combo .= "<option value='' selected>--</option>";
     } else {
         $combo .= "<option value='' >--</option>";
     }
     while (list($cle, $value) = each($clang)) {
         // arabe seulement si on est en utf-8
         if ($charset != 'utf-8' and $user_lang != 'ar' or $charset == 'utf-8') {
             if (strcmp($cle, $user_lang) != 0) {
                 $combo .= "<option value='{$cle}'>{$value} ({$cle})</option>";
             } else {
                 $combo .= "<option value='{$cle}' selected>{$value} ({$cle})</option>";
             }
         }
     }
     $combo .= "</select>";
     $ptab[10] = str_replace('!!indexation_lang!!', $combo, $ptab[10]);
     $form_notice = str_replace('!!indexation_lang_sel!!', $user_lang, $form_notice);
     global $deflt_integration_notice_statut;
     if ($id_notice) {
         $rqt_statut = "select statut from notices where notice_id='{$id_notice}' ";
         $res_statut = pmb_mysql_query($rqt_statut);
         $stat = pmb_mysql_fetch_object($res_statut);
         $select_statut = gen_liste_multiple("select id_notice_statut, gestion_libelle from notice_statut order by 2", "id_notice_statut", "gestion_libelle", "id_notice_statut", "form_notice_statut", "", $stat->statut, "", "", "", "", 0);
     } else {
         $select_statut = gen_liste_multiple("select id_notice_statut, gestion_libelle from notice_statut order by 2", "id_notice_statut", "gestion_libelle", "id_notice_statut", "form_notice_statut", "", $deflt_integration_notice_statut, "", "", "", "", 0);
     }
     $ptab[10] = str_replace('!!notice_statut!!', $select_statut, $ptab[10]);
     $ptab[10] = str_replace('!!commentaire_gestion!!', htmlentities($this->commentaire_gestion, ENT_QUOTES, $charset), $ptab[10]);
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:67,代码来源:z3950_notice.class.php

示例13: pmb_mysql_query

            break;
    }
    $i++;
}
$requete_nom = "SELECT nom, prenom, user_email, userid, username, user_lang  FROM users WHERE username='{$user}' ";
$res_nom = pmb_mysql_query($requete_nom, $dbh);
@($param_nom = pmb_mysql_fetch_object($res_nom));
$lang = $param_nom->user_lang;
$PMBusernom = $param_nom->nom;
$PMBuserprenom = $param_nom->prenom;
$PMBuseremail = $param_nom->user_email;
// pour que l'id user soit dispo partout
define('SESSuserid', $param_nom->userid);
$PMBuserid = $param_nom->userid;
$PMBusername = $param_nom->username;
$messages = new XMLlist("{$include_path}/messages/{$lang}.xml", 0);
$messages->analyser();
$msg = $messages->table;
include_once "{$class_path}/bannette.class.php";
include_once "{$class_path}/equation.class.php";
include_once "{$class_path}/classements.class.php";
require_once "{$class_path}/docs_location.class.php";
include_once "{$class_path}/rss_flux.class.php";
require_once "./dsi/func_abo.inc.php";
require_once "./dsi/func_pro.inc.php";
require_once "./dsi/func_common.inc.php";
require_once "./dsi/func_clas.inc.php";
require_once "./dsi/func_equ.inc.php";
require_once "./dsi/func_diff.inc.php";
require_once "./dsi/func_rss.inc.php";
$action_diff_aff = "<h1>" . $msg[dsi_dif_auto_titre] . "</h1>";
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:31,代码来源:dsi_auto.php

示例14: header

header('Expires: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Content-Disposition: inline; filename="toto.csv"');
//header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
include '../../../classes/XMLlist.class.php';
// on définit les langues existantes
$languages = new XMLlist("languages_csv.xml", 0);
$languages->analyser();
$avail_lang = $languages->table;
$nb_lang = 0;
$messages_list = array();
while (list($cle, $valeur) = each($avail_lang)) {
    // Dans un tableau des codages, la valeur de codage est stockée
    $codage[$nb_lang] = $valeur;
    $lang_name[$nb_lang] = $cle;
    $obj_lang = new XMLlist("../{$cle}.xml", 0);
    $obj_lang->analyser();
    $lang = $obj_lang->table;
    while (list($key, $val) = each($lang)) {
        $messages_list[$key][$nb_lang] = $val;
    }
    $nb_lang++;
}
while (list($cle, $valeur) = each($messages_list)) {
    echo $cle . ";";
    // La première langue est supposée en utf-8 alors que la suivante est en iso
    //$valeur[0]=utf8_encode($valeur[0]);
    for ($i = 0; $i < $nb_lang; $i++) {
        // Si le codage de la langue n'est pas en utf-8 alors on encode
        if ($codage[$i] != "utf-8") {
            $valeur[$i] = utf8_encode($valeur[$i]);
开发者ID:noble82,项目名称:proyectos-ULS,代码行数:31,代码来源:export_csv.php

示例15: marc_list

 function marc_list($type)
 {
     global $lang;
     global $charset;
     global $include_path;
     switch ($type) {
         case 'country':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/country.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'icondoc':
             $parser = new XMLlist("{$include_path}/marc_tables/icondoc.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'icondoc_big':
             $parser = new XMLlist("{$include_path}/marc_tables/icondoc_big.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'lang':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/lang.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'doctype':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/doctype.xml", 0);
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'recordtype':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/recordtype.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'function':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/function.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'literal_function':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/literal_function.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'section_995':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/section_995.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'typdoc_995':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/typdoc_995.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'codstatdoc_995':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/codstat_995.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'diacritique':
             // Armelle : a priori plus utile
             $parser = new XMLlist("{$include_path}/marc_tables/diacritique.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'nivbiblio':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/nivbiblio.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'relationtypeup':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/relationtypeup.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'relationtypedown':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/relationtypedown.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case "etat_demandes":
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/etat_demandes.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case "type_actions":
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/type_actions_demandes.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'relationtype_aut':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/relationtype_aut.xml");
             $parser->analyser();
             $this->table = $parser->table;
             break;
         case 'relationtype_autup':
             $parser = new XMLlist("{$include_path}/marc_tables/{$lang}/relationtype_autup.xml");
             $parser->analyser();
//.........这里部分代码省略.........
开发者ID:bouchra012,项目名称:PMB,代码行数:101,代码来源:marc_table.class.php


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