本文整理汇总了PHP中interPool::conv_mois_numeric_to_fulltext方法的典型用法代码示例。如果您正苦于以下问题:PHP interPool::conv_mois_numeric_to_fulltext方法的具体用法?PHP interPool::conv_mois_numeric_to_fulltext怎么用?PHP interPool::conv_mois_numeric_to_fulltext使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类interPool
的用法示例。
在下文中一共展示了interPool::conv_mois_numeric_to_fulltext方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: list
// Affichage de la table de sélection du gérant
$pool->affiche_selection_gerant($id_pool, $id_saison, $gerant_sel);
// Affichage de la table de sélection de la période
$pool->affiche_selection_periode($nbre_periodes, $periode_sel, $id_pool, $id_saison, $id_saison);
echo "<br>\n";
// affichage de l'heure limite pour soumettre son alignement.
$heure_limite = $pool->getHeureLimiteAlignement($id_pool, $id_saison, $gerant_sel, $periode_sel);
$periode_info = $pool->getPeriodeInfo($id_pool, $periode_sel, $id_saison);
list($date_begin, $date_end, $var1, $var2, $var3) = split(";", $periode_info);
list($date_begin_year, $date_begin_month, $date_begin_day) = split("-", $date_begin);
list($date_end_year, $date_end_month, $date_end_day) = split("-", $date_end);
$date_begin_day_text = date("l", mktime(12, 12, 12, $date_begin_month, $date_begin_day, $date_begin_year));
$date_begin_day_text = $pool->date_getJour($date_begin_day_text);
$date_end_day_text = date("l", mktime(12, 12, 12, $date_end_month, $date_end_day, $date_end_year));
$date_end_day_text = $pool->date_getJour($date_end_day_text);
$date_begin_month = $pool->conv_mois_numeric_to_fulltext($date_begin_month);
$date_end_month = $pool->conv_mois_numeric_to_fulltext($date_end_month);
if ($pool->isTodayFisrtDayOfAPeriod($id_pool, $id_saison) || $periode_sel > $periode) {
echo "<center><font size=+2>Du <font style=\"color:red;font-weight:bold;\">" . "{$date_begin_day_text} {$date_begin_day} {$date_begin_month} {$date_begin_year} </font>" . "Au <font style=\"color:red;font-weight:bold;\">" . "{$date_end_day_text} {$date_end_day} {$date_end_month} {$date_begin_year}</font>";
echo "<br>";
echo "<center><font size=+2>Heure limite pour soumettre l'alignement: " . "<font style=\"color:red;font-weight:bold;\">{$heure_limite}</font></font></center>";
} else {
echo "<center><font size=+1>Du <font style=\"font-weight:bold;\">" . "{$date_begin_day_text} {$date_begin_day} {$date_begin_month} {$date_begin_year} </font>" . "Au <font style=\"font-weight:bold;\">" . "{$date_end_day_text} {$date_end_day} {$date_end_month} {$date_begin_year}</font></font></center>";
}
echo "<br>\n";
?>
<FORM NAME="alignement" METHOD="POST" ACTION="<?php
echo $_SERVER['PHP_SELF'];
?>
">
示例2: list
// Affichage de la table de sélection du gérant
$pool->affiche_selection_gerant($id_pool, $id_saison, $gerant_sel);
// Affichage de la table de sélection de la période
$pool->affiche_selection_periode($nbre_periodes, $periode_sel, $id_pool, $id_saison, $id_saison);
echo "<br>\n";
// affichage de l'heure limite pour soumettre son alignement.
$heure_limite = $pool->getHeureLimiteAlignement($id_pool, $id_saison, $gerant_sel, $periode_sel);
$periode_info = $pool->getPeriodeInfo($id_pool, $periode_sel, $id_saison);
list($date_begin, $date_end, $var1, $var2, $var3) = split(";", $periode_info);
$_dateBegin = DateTime::createFromFormat('Y-m-d', $date_begin, $pool->timeZone);
$_dateEnd = DateTime::createFromFormat('Y-m-d', $date_end, $pool->timeZone);
$date_begin_day_text = $_dateBegin->format('l');
$date_begin_day_text = $pool->date_getJour($date_begin_day_text);
$date_end_day_text = $_dateEnd->format('l');
$date_end_day_text = $pool->date_getJour($date_end_day_text);
$date_begin_month = $pool->conv_mois_numeric_to_fulltext($_dateBegin->format('m'));
$date_end_month = $pool->conv_mois_numeric_to_fulltext($_dateEnd->format('m'));
list($date_begin_year, $toto, $date_begin_day) = split("-", $date_begin);
list($date_end_year, $tata, $date_end_day) = split("-", $date_end);
if ($pool->isTodayFisrtDayOfAPeriod($id_pool, $id_saison) || $periode_sel > $periode || $periode == 1) {
echo "<center><font size=+1>Du <font style=\"color:red;font-weight:bold;\">" . "{$date_begin_day_text} {$date_begin_day} {$date_begin_month} {$date_begin_year} </font>" . "Au <font style=\"color:red;font-weight:bold;\">" . "{$date_end_day_text} {$date_end_day} {$date_end_month} {$date_end_year}</font></font>";
echo "<br>";
echo "<font size=+1>Heure limite pour soumettre l'alignement: " . "<font style=\"color:red;font-weight:bold;\">{$heure_limite}</font></font>";
} else {
echo "<center><font size=+1>Du <font style=\"font-weight:bold;\">" . "{$date_begin_day_text} {$date_begin_day} {$date_begin_month} {$date_begin_year} </font>" . "Au <font style=\"font-weight:bold;\">" . "{$date_end_day_text} {$date_end_day} {$date_end_month} {$date_end_year}</font></font>";
}
echo "<br>\n";
?>
<hr width="50%" />