3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phpnamespace Catalogue\Constante;use Commun\Constante\Impl\OngletConstanteTrait;use Commun\Constante\IOngletConstante;/** * Classe ConstanteOngletUe * * Projet : Instm Ent 2013-2015 * Fichier créé par pierre-anthime.haras le 16/06/14 à 11:23 * * @copyright Copyright © Institut Mines Télécom 2013-2015, All Rights Reserved * @author ALYOTECH * @package Catalogue\Constante */class ConstanteOngletUe implements IOngletConstante{ use OngletConstanteTrait { OngletConstanteTrait::getTabOnglets insteadof ConstanteOngletUe; } /** @const le numero de l'onglet info_gen */ const NUMBER_INFO_GEN = 1; /** @const le numero de l'onglet descriptif */ const NUMBER_DESCRIPTIF = 2; /** @const le numero de l'onglet organisation */ const NUMBER_ORGANISATION = 3; /** @const le numero de l'onglet pré-requis */ const NUMBER_PRE_REQUIS = 4; /** @const le numero de l'onglet acquisition */ const NUMBER_ACQUISITION = 5; /** @const le numero de l'onglet gestion interne */ const NUMBER_GESTION_INT = 6; /** @const le numero de l'onglet occurrences */ const NUMBER_OCCURRENCES = 7; /** * @var array le tableau des onglets de la fiche diplome */ private static $tabOnglets = array( self::NUMBER_INFO_GEN => array( self::ATTRIBUT_NAME => 'InformationsGenerales', self::ATTRIBUT_LIBELLE => 'Informations générales', self::ATTRIBUT_ACTION => 'informations-generales', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-info-gen' ), self::NUMBER_DESCRIPTIF => array( self::ATTRIBUT_NAME => 'DescriptifEtProgramme', self::ATTRIBUT_LIBELLE => 'Descriptif et programme', self::ATTRIBUT_ACTION => 'descriptif-et-programme', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-desc-et-prog' ), self::NUMBER_ORGANISATION => array( self::ATTRIBUT_NAME => 'Organisation', self::ATTRIBUT_LIBELLE => 'Organisation', self::ATTRIBUT_ACTION => 'organisation', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-organisation' ), self::NUMBER_PRE_REQUIS => array( self::ATTRIBUT_NAME => 'PreRequis', self::ATTRIBUT_LIBELLE => 'Pré-requis', self::ATTRIBUT_ACTION => 'pre-requis', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-pre-requis' ), self::NUMBER_ACQUISITION => array( self::ATTRIBUT_NAME => 'Acquisition', self::ATTRIBUT_LIBELLE => 'Acquisition', self::ATTRIBUT_ACTION => 'acquisition', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-acquisition' ), self::NUMBER_GESTION_INT => array( self::ATTRIBUT_NAME => 'GestionInterne', self::ATTRIBUT_LIBELLE => 'Gestion interne', self::ATTRIBUT_ACTION => 'gestion-interne', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-gestion-interne' ), self::NUMBER_OCCURRENCES => array( self::ATTRIBUT_NAME => 'Occurrences', self::ATTRIBUT_LIBELLE => 'Occurrences', self::ATTRIBUT_ACTION => 'occurrences', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-occurrences' ) ); /** * @return array */ public static function getTabOnglets() { return self::$tabOnglets; }}
Output for 5.4.0 - 5.4.32
<?phpnamespace Catalogue\Constante;use Commun\Constante\Impl\OngletConstanteTrait;use Commun\Constante\IOngletConstante;/** * Classe ConstanteOngletUe * * Projet : Instm Ent 2013-2015 * Fichier créé par pierre-anthime.haras le 16/06/14 à 11:23 * * @copyright Copyright © Institut Mines Télécom 2013-2015, All Rights Reserved * @author ALYOTECH * @package Catalogue\Constante */class ConstanteOngletUe implements IOngletConstante{ use OngletConstanteTrait { OngletConstanteTrait::getTabOnglets insteadof ConstanteOngletUe; } /** @const le numero de l'onglet info_gen */ const NUMBER_INFO_GEN = 1; /** @const le numero de l'onglet descriptif */ const NUMBER_DESCRIPTIF = 2; /** @const le numero de l'onglet organisation */ const NUMBER_ORGANISATION = 3; /** @const le numero de l'onglet pré-requis */ const NUMBER_PRE_REQUIS = 4; /** @const le numero de l'onglet acquisition */ const NUMBER_ACQUISITION = 5; /** @const le numero de l'onglet gestion interne */ const NUMBER_GESTION_INT = 6; /** @const le numero de l'onglet occurrences */ const NUMBER_OCCURRENCES = 7; /** * @var array le tableau des onglets de la fiche diplome */ private static $tabOnglets = array( self::NUMBER_INFO_GEN => array( self::ATTRIBUT_NAME => 'InformationsGenerales', self::ATTRIBUT_LIBELLE => 'Informations générales', self::ATTRIBUT_ACTION => 'informations-generales', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-info-gen' ), self::NUMBER_DESCRIPTIF => array( self::ATTRIBUT_NAME => 'DescriptifEtProgramme', self::ATTRIBUT_LIBELLE => 'Descriptif et programme', self::ATTRIBUT_ACTION => 'descriptif-et-programme', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-desc-et-prog' ), self::NUMBER_ORGANISATION => array( self::ATTRIBUT_NAME => 'Organisation', self::ATTRIBUT_LIBELLE => 'Organisation', self::ATTRIBUT_ACTION => 'organisation', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-organisation' ), self::NUMBER_PRE_REQUIS => array( self::ATTRIBUT_NAME => 'PreRequis', self::ATTRIBUT_LIBELLE => 'Pré-requis', self::ATTRIBUT_ACTION => 'pre-requis', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-pre-requis' ), self::NUMBER_ACQUISITION => array( self::ATTRIBUT_NAME => 'Acquisition', self::ATTRIBUT_LIBELLE => 'Acquisition', self::ATTRIBUT_ACTION => 'acquisition', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-acquisition' ), self::NUMBER_GESTION_INT => array( self::ATTRIBUT_NAME => 'GestionInterne', self::ATTRIBUT_LIBELLE => 'Gestion interne', self::ATTRIBUT_ACTION => 'gestion-interne', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-gestion-interne' ), self::NUMBER_OCCURRENCES => array( self::ATTRIBUT_NAME => 'Occurrences', self::ATTRIBUT_LIBELLE => 'Occurrences', self::ATTRIBUT_ACTION => 'occurrences', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-occurrences' ) ); /** * @return array */ public static function getTabOnglets() { return self::$tabOnglets; }}