本文整理匯總了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%" />