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


PHP DB_STRUCTURE_COMMUN::DB_OPT_selection_items方法代码示例

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


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

示例1:

$tab_periodes = DB_STRUCTURE_COMMUN::DB_OPT_periodes_etabl();
$select_individuel_format = HtmlForm::afficher_select(Form::$tab_select_individuel_format, 'f_individuel_format', FALSE, Form::$tab_choix['releve_individuel_format'], '');
$select_synthese_format = HtmlForm::afficher_select(Form::$tab_select_synthese_format, 'f_synthese_format', FALSE, Form::$tab_choix['tableau_synthese_format'], '');
$select_tri_mode = HtmlForm::afficher_select(Form::$tab_select_tri_mode, 'f_tri_mode', FALSE, Form::$tab_choix['tableau_tri_mode'], '');
$select_groupe = HtmlForm::afficher_select($tab_groupes, 'f_groupe', '', FALSE, 'regroupements');
$select_eleves_ordre = HtmlForm::afficher_select(Form::$tab_select_eleves_ordre, 'f_eleves_ordre', FALSE, Form::$tab_choix['eleves_ordre'], '');
$select_periode = HtmlForm::afficher_select($tab_periodes, 'f_periode', 'periode_personnalisee', FALSE, '');
$select_orientation = HtmlForm::afficher_select(Form::$tab_select_orientation, 'f_orientation', FALSE, Form::$tab_choix['orientation'], '');
$select_marge_min = HtmlForm::afficher_select(Form::$tab_select_marge_min, 'f_marge_min', FALSE, Form::$tab_choix['marge_min'], '');
$select_pages_nb = HtmlForm::afficher_select(Form::$tab_select_pages_nb, 'f_pages_nb', FALSE, Form::$tab_choix['pages_nb'], '');
$select_couleur = HtmlForm::afficher_select(Form::$tab_select_couleur, 'f_couleur', FALSE, Form::$tab_choix['couleur'], '');
$select_fond = HtmlForm::afficher_select(Form::$tab_select_fond, 'f_fond', FALSE, Form::$tab_choix['fond'], '');
$select_legende = HtmlForm::afficher_select(Form::$tab_select_legende, 'f_legende', FALSE, Form::$tab_choix['legende'], '');
$select_cases_nb = HtmlForm::afficher_select(Form::$tab_select_cases_nb, 'f_cases_nb', FALSE, Form::$tab_choix['cases_nb'], '');
$select_cases_larg = HtmlForm::afficher_select(Form::$tab_select_cases_size, 'f_cases_larg', FALSE, Form::$tab_choix['cases_largeur'], '');
$select_selection_items = HtmlForm::afficher_select(DB_STRUCTURE_COMMUN::DB_OPT_selection_items($_SESSION['USER_ID']), 'f_selection_items', '', FALSE, '');
// Javascript
Layout::add('js_inline_before', 'var date_mysql = "' . TODAY_MYSQL . '";');
// Fabrication du tableau javascript "tab_groupe_periode" pour les jointures groupes/périodes
HtmlForm::fabriquer_tab_js_jointure_groupe($tab_groupes, TRUE, FALSE);
?>

<div><span class="manuel"><a class="pop_up" href="<?php 
echo SERVEUR_DOCUMENTAIRE;
?>
?fichier=releves_bilans__releve_items_selection">DOC : Relevé d'items sélectionnés.</a></span></div>

<hr />

<form action="#" method="post" id="form_select"><fieldset>
  <label class="tab">Type de document :</label><label for="f_type_individuel"><input type="checkbox" id="f_type_individuel" name="f_type[]" value="individuel"<?php 
开发者ID:Qwaseur,项目名称:SACoche,代码行数:31,代码来源:releve_items_selection.php

示例2: array

if(count($tab_id_classe_groupe))
{
	$tab_memo_groupes = array();
	$DB_TAB = DB_STRUCTURE_COMMUN::DB_lister_jointure_groupe_periode($listing_groupe_id = implode(',',$tab_id_classe_groupe));
	foreach($DB_TAB as $DB_ROW)
	{
		if(!isset($tab_memo_groupes[$DB_ROW['groupe_id']]))
		{
			$tab_memo_groupes[$DB_ROW['groupe_id']] = true;
			$tab_groupe_periode_js .= 'tab_groupe_periode['.$DB_ROW['groupe_id'].'] = new Array();';
		}
		$tab_groupe_periode_js .= 'tab_groupe_periode['.$DB_ROW['groupe_id'].']['.$DB_ROW['periode_id'].']="'.$DB_ROW['jointure_date_debut'].'_'.$DB_ROW['jointure_date_fin'].'";';
	}
}

$select_selection_items = Formulaire::afficher_select(DB_STRUCTURE_COMMUN::DB_OPT_selection_items($_SESSION['USER_ID']) , $select_nom='f_selection_items' , $option_first='oui' , $selection=false , $optgroup='non');
?>

<script type="text/javascript">
	// <![CDATA[
	var select_groupe="<?php echo str_replace('"','\"','<option value=""></option>'.$select_eleve); ?>";
	// ]]>
	var input_date="<?php echo date("d/m/Y") ?>";
	var date_mysql="<?php echo date("Y-m-d") ?>";
	var tab_items = new Array();
	var tab_profs = new Array();
	<?php echo $tab_niveau_js ?> 
	<?php echo $tab_groupe_js ?> 
	<?php echo $tab_groupe_periode_js ?> 
</script>
开发者ID:rhertzog,项目名称:lcs,代码行数:30,代码来源:professeur_eval_groupe.php

示例3:

$select_tri_mode          = HtmlForm::afficher_select(Form::$tab_select_tri_mode          , 'f_tri_mode'          /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['tableau_tri_mode']         /*selection*/ ,              '' /*optgroup*/);
$select_groupe            = HtmlForm::afficher_select($tab_groupes                        , 'f_groupe'            /*select_nom*/ ,              $of_groupe /*option_first*/ , $sel_groupe                                  /*selection*/ , 'regroupements' /*optgroup*/);
$select_eleves_ordre      = HtmlForm::afficher_select(Form::$tab_select_eleves_ordre      , 'f_eleves_ordre'      /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['eleves_ordre']             /*selection*/ ,              '' /*optgroup*/);
$select_professeur        = HtmlForm::afficher_select($tab_profs                          , 'f_prof'              /*select_nom*/ ,                   FALSE /*option_first*/ , $_SESSION['USER_ID']                         /*selection*/ ,              '' /*optgroup*/);
$select_matiere           = HtmlForm::afficher_select($tab_matieres                       , 'f_matiere'           /*select_nom*/ ,                      '' /*option_first*/ , $auto_select_matiere_id                      /*selection*/ ,              '' /*optgroup*/);
$select_periode           = HtmlForm::afficher_select($tab_periodes                       , 'f_periode'           /*select_nom*/ , 'periode_personnalisee' /*option_first*/ , FALSE                                        /*selection*/ ,              '' /*optgroup*/);
$select_orientation       = HtmlForm::afficher_select(Form::$tab_select_orientation       , 'f_orientation'       /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['orientation']              /*selection*/ ,              '' /*optgroup*/);
$select_marge_min         = HtmlForm::afficher_select(Form::$tab_select_marge_min         , 'f_marge_min'         /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['marge_min']                /*selection*/ ,              '' /*optgroup*/);
$select_pages_nb          = HtmlForm::afficher_select(Form::$tab_select_pages_nb          , 'f_pages_nb'          /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['pages_nb']                 /*selection*/ ,              '' /*optgroup*/);
$select_couleur           = HtmlForm::afficher_select(Form::$tab_select_couleur           , 'f_couleur'           /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['couleur']                  /*selection*/ ,              '' /*optgroup*/);
$select_fond              = HtmlForm::afficher_select(Form::$tab_select_fond              , 'f_fond'              /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['fond']                     /*selection*/ ,              '' /*optgroup*/);
$select_legende           = HtmlForm::afficher_select(Form::$tab_select_legende           , 'f_legende'           /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['legende']                  /*selection*/ ,              '' /*optgroup*/);
$select_cases_nb          = HtmlForm::afficher_select(Form::$tab_select_cases_nb          , 'f_cases_nb'          /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['cases_nb']                 /*selection*/ ,              '' /*optgroup*/);
$select_cases_larg        = HtmlForm::afficher_select(Form::$tab_select_cases_size        , 'f_cases_larg'        /*select_nom*/ ,                   FALSE /*option_first*/ , Form::$tab_choix['cases_largeur']            /*selection*/ ,              '' /*optgroup*/);

$select_selection_items = HtmlForm::afficher_select(DB_STRUCTURE_COMMUN::DB_OPT_selection_items($_SESSION['USER_ID']) , 'f_selection_items' , '' /*option_first*/ , FALSE /*selection*/ , '' /*optgroup*/);

// Javascript
Layout::add( 'js_inline_before' , 'var date_mysql  = "'.TODAY_MYSQL.'";' );
Layout::add( 'js_inline_before' , 'var is_multiple = '.$is_select_multiple.';' );
Layout::add( 'js_inline_before' , 'var auto_voir_releve     = '.$auto_voir_releve.';' );
Layout::add( 'js_inline_before' , 'var auto_select_eleve_id = '.$auto_select_eleve_id.';' );
Layout::add( 'js_inline_before' , 'var user_id     = '.$_SESSION['USER_ID'].';' );
Layout::add( 'js_inline_before' , 'var user_texte  = "'.html(afficher_identite_initiale($_SESSION['USER_NOM'],FALSE,$_SESSION['USER_PRENOM'],TRUE,$_SESSION['USER_GENRE'])).'";' );
Layout::add( 'js_inline_before' , 'var user_profil = "'.$_SESSION['USER_PROFIL_TYPE'].'";' );
// Fabrication du tableau javascript "tab_groupe_periode" pour les jointures groupes/périodes
HtmlForm::fabriquer_tab_js_jointure_groupe( $tab_groupes , TRUE /*tab_groupe_periode*/ , FALSE /*tab_groupe_niveau*/ );

?>

<div><span class="manuel"><a class="pop_up" href="<?php echo SERVEUR_DOCUMENTAIRE ?>?fichier=releves_bilans__releve_items">DOC : Relevé d'items.</a></span></div>
开发者ID:rhertzog,项目名称:lcs,代码行数:31,代码来源:releve_items.php


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