This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Afficher humainement une durée exprimée initialement en nombre de secondes | |
* | |
* On peut arrondir à une unité : heures, jours, … | |
* | |
* Exemples : | |
* - 14400 : 4 heures | |
* - 86400 : 1 jour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Calcul du critère `initiale` | |
* | |
* NE FONCTIONNE QU'AVEC MYSQL | |
* | |
* Extrait l'initiale d'un champ ou d'une expression. | |
* Ajoute l'alias `initiale` dans la boucle, ce qui permet de faire un GROUP BY `{fusion initiale}` ou un ORDER BY `{par initiale}` | |
* Voir aussi le pipeline pre_boucle à ce sujet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Spip\Cli\Command; | |
use Spip\Cli\Console\Command; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; | |
use Symfony\Component\Console\Question\ConfirmationQuestion; | |
class coordonneesAdressesRevert2v2 extends Command { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<ruleset name="SPIP"> | |
<!-- | |
Liens utiles | |
https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards | |
https://github.com/ucfcdl/fuelphp-phpcs/tree/master/Standards/FuelPHP | |
https://github.com/vanilla/addons/tree/master/standards/Vanilla | |
--> | |
<description>Coding rules for SPIP</description> |