<?php
//20.0.56.2 IHM/Champ/Onglet.php GF 
//VersionVI: 30F200067s
//(c) 2005-2012 PC SOFT  - Release
 if (!defined('__INC__IHM/Champ/Champ.php')) { define('__INC__IHM/Champ/Champ.php',true); include_once(WB_INCLUDE_PATH.'WD7c939e6867492a5e5416bd4b4327fac0.php'); } class COnglet extends CChamp { var $m_tabVolets; function COnglet() { parent::CChamp(); $this->m_tabVolets = array(); $this->Valeur = 1; } function Fdc05d49f( $ValeurHTTP ) { $this->SetValeur($ValeurHTTP); } function& GetType() { return getRef(16); } function F4a917fa4() { return 44; } function AjouteVolet($sNomPHP) { $this->m_tabVolets[] = $sNomPHP.'_'. $this->Nom; } function SetValeur($NewVal) { $nIndice = F075ca95b($NewVal); if ( ($nIndice>=1)&&($nIndice<=count($this->m_tabVolets))) { if ( (isset($this->m_tabVolets[$nIndice-1])) ) { $pclVolet =& F9abbf335($this->m_tabVolets[$nIndice-1],IND_CHAMP); if (!isset($pclVolet) || ($pclVolet->Etat == ETAT_CHAMP_ACTIF)) { $this->Valeur = $NewVal; if(Feef890d7()) { F4c16799e($this->m_sNomPHP, XML_CHAMP_PROP_NUM_VALEUR); } } } } } function& GetValI($IndiceVolet) { $RetourDefaut = null; $nIndiceVolet = intval($IndiceVolet) - 1; if (!isset($this->m_tabVolets[$nIndiceVolet])) { return $RetourDefaut; } return F9abbf335($this->m_tabVolets[$nIndiceVolet],IND_CHAMP); } function& GetOccurrence() { $Retour = count($this->m_tabVolets,COUNT_NORMAL); return $Retour; } } class CVoletOnglet extends CChamp { function CVoletOnglet() { parent::CObjetBase(); } function& GetType() { Erreur('ErreurProprieteInconnue','',Fc34ec142('PROP_NOM_TYPE'),Fc34ec142('TYPEWL_NOM_VOLET')); return getRef(); } function F4a917fa4() { return 49; } function F70cea20e() { return false; } function SetEtat( $nEtat ) { parent::SetEtat($nEtat); if(Feef890d7()) { if ($nEtat != 4) { $modif = &$this->m_TabModifChamp[$this->m_sNomPHP]; if (!isset($modif)) return; $modif->Fbf6de367('.getElementsByTagName("a")[0].disabled=false'); } } } } ?>