本文整理汇总了PHP中DB_STRUCTURE_COMMUN::DB_OPT_matieres_eleve方法的典型用法代码示例。如果您正苦于以下问题:PHP DB_STRUCTURE_COMMUN::DB_OPT_matieres_eleve方法的具体用法?PHP DB_STRUCTURE_COMMUN::DB_OPT_matieres_eleve怎么用?PHP DB_STRUCTURE_COMMUN::DB_OPT_matieres_eleve使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DB_STRUCTURE_COMMUN
的用法示例。
在下文中一共展示了DB_STRUCTURE_COMMUN::DB_OPT_matieres_eleve方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
// maj en ajax suivant le choix du groupe
$is_select_multiple = 0;
// volontaire
}
if ($_SESSION['USER_PROFIL_TYPE'] == 'parent' && $_SESSION['NB_ENFANTS'] == 1) {
$tab_matieres = DB_STRUCTURE_COMMUN::DB_OPT_matieres_eleve($_SESSION['OPT_PARENT_ENFANTS'][0]['valeur']);
$tab_groupes = array(0 => array('valeur' => $_SESSION['ELEVE_CLASSE_ID'], 'texte' => $_SESSION['ELEVE_CLASSE_NOM'], 'optgroup' => 'classe'));
$of_g = FALSE;
$sel_g = TRUE;
$class_form_type = 'hide';
$class_form_eleve = 'hide';
$select_eleves = '<select id="f_eleve" name="f_eleve[]"><option value="' . $_SESSION['OPT_PARENT_ENFANTS'][0]['valeur'] . '" selected>' . html($_SESSION['OPT_PARENT_ENFANTS'][0]['texte']) . '</option></select>';
$is_select_multiple = 0;
}
if ($_SESSION['USER_PROFIL_TYPE'] == 'eleve') {
$tab_matieres = DB_STRUCTURE_COMMUN::DB_OPT_matieres_eleve($_SESSION['USER_ID']);
$tab_groupes = array(0 => array('valeur' => $_SESSION['ELEVE_CLASSE_ID'], 'texte' => $_SESSION['ELEVE_CLASSE_NOM'], 'optgroup' => 'classe'));
$of_g = FALSE;
$sel_g = TRUE;
$class_form_type = 'hide';
$class_form_eleve = 'hide';
$select_eleves = '<select id="f_eleve" name="f_eleve[]"><option value="' . $_SESSION['USER_ID'] . '" selected>' . html($_SESSION['USER_NOM'] . ' ' . $_SESSION['USER_PRENOM']) . '</option></select>';
$is_select_multiple = 0;
}
$tab_periodes = DB_STRUCTURE_COMMUN::DB_OPT_periodes_etabl();
$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_remplissage = HtmlForm::afficher_select(Form::$tab_select_remplissage, 'f_remplissage', FALSE, Form::$tab_choix['remplissage'], '');
$select_colonne_bilan = HtmlForm::afficher_select(Form::$tab_select_colonne_bilan, 'f_colonne_bilan', FALSE, Form::$tab_choix['colonne_bilan'], '');
$select_colonne_vide = HtmlForm::afficher_select(Form::$tab_select_colonne_vide, 'f_colonne_vide', FALSE, Form::$tab_choix['colonne_vide'], '');
$select_matiere = HtmlForm::afficher_select($tab_matieres, 'f_matiere', '', Form::$tab_choix['matiere_id'], '');