<?php
//25.0.2.0 IHM/Champ/Liste/Table/Colonne/ColonneFormat.php GF
//VersionVI: 01F250083h
//(c) 2005-2012 PC SOFT - Release
 if (!defined('__INC__IHM/Champ/Liste/Table/Colonne/Colonne.php')) { define('__INC__IHM/Champ/Liste/Table/Colonne/Colonne.php',true); include_once(WB_INCLUDE_PATH.'WD3822829e5f2af4a164b121dbfb7ea8b2.php'); } if (!defined('__INC__IHM/Champ/Saisie/Saisie.php')) { define('__INC__IHM/Champ/Saisie/Saisie.php',true); include_once(WB_INCLUDE_PATH.'WD2d958d85e220e9ca486c6dac5b41bd02.php'); } class CColonneFormat extends CColonne { var $ChampFormat = null; var $Masque = null; function CColonneFormat(&$Champ, $Nom, $T, $Indice = 0) { parent::CColonne($Nom, $T, $Indice); $this->ChampFormat =& $Champ; if (isset($this->ChampFormat->m_bATTNULLSIVIDE)) $this->ChampFormat->m_bATTNULLSIVIDE=true; } function Fb560a68a($dwFlags) { parent::Fb560a68a($dwFlags); if ($this->ChampFormat === null) { if ($this->Masque !== null) { $this->ChampFormat = new CSaisie(); $this->ChampFormat->Masque = $this->Masque; } } if ($this->ChampFormat !== null) { $this->ChampFormat->Fb560a68a($dwFlags); } } function& GetValeurAfficheeI($Indice) { $sRetourParDefaut = ''; $Valeur = parent::GetValeurAfficheeI($Indice); if ($this->ChampFormat === null) return $Valeur; if (isset($Valeur) && ($Valeur !== '')) { $Champ =& $this->ChampFormat; $Champ->SetValeur($Valeur); return $Champ->GetValeurAffichee(); } else { return $sRetourParDefaut; } } function Fa19e8373($Valeur) { if ($this->nTypeColonne == TYPE_COLONNE_INTERRUPTEUR && $Valeur == 'NaN') $Valeur = 0; if ($this->ChampFormat === null) return $Valeur; $Champ = $this->ChampFormat; $Champ->Fdc05d49f($Valeur); return $Champ->Valeur; } function& __GetType() { $t = isset($this->ChampFormat) ? $this->ChampFormat->__GetType() : parent::__GetType(); return $t; } } class CColonneDuree extends CColonneFormat { function CColonneDuree($Nom, $T, $Indice) { $Champ = new CSaisieDuree(); parent::CColonneFormat($Champ, $Nom, $T, $Indice); } function Fa19e8373($Valeur) { } function& GetType() { return getRef(20006); } } ?>