當前位置: 首頁>>代碼示例>>PHP>>正文


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怎麽用?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'];
        ?>
">
開發者ID:jfanctil,項目名稱:lamoria,代碼行數:31,代碼來源:gestion-equipe.php

示例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%" />
開發者ID:jfanctil,項目名稱:lamoria,代碼行數:30,代碼來源:gestion-equipe.php


注:本文中的interPool::conv_mois_numeric_to_fulltext方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。