protected function ConstruireElemConsultation($titre = '', $contenu = '')
 {
     $elem = parent::ConstruireElemConsultation();
     $divTitre = new SBalise(BAL_DIV);
     $divTitre->AddClass(LISTE_JQ_ELEM_TITRE);
     $elemTitre = new SElement($this->prefixIdClass . LISTECLASS_ELEMTITRE . $this->Niveau());
     $elemTitre->AjouterClasse(LISTECLASS_ELEMTITRE . $this->Niveau());
     if ($titre === '' || is_string($titre)) {
         $elemTitreChamp = new SElement($this->prefixIdClass . LISTECLASS_ELEMTITRECHAMP . $this->Niveau());
         $elemTitreChamp->AjouterClasse(LISTECLASS_ELEMTITRECHAMP . $this->Niveau());
         $elemTitreChamp->SetText($titre);
         $elemTitre->Attach($elemTitreChamp);
     } else {
         $elemTitre->Attach($titre);
     }
     $divTitre->Attach($elemTitre);
     $elem->Attach($divTitre);
     $divContenu = new SBalise(BAL_DIV);
     $divContenu->AddClass(LISTE_JQ_ELEM_CONTENU);
     $elemContenu = new SElement($this->prefixIdClass . LISTECLASS_ELEMCONTENU . $this->Niveau());
     $elemContenu->AjouterClasse(LISTECLASS_ELEMCONTENU . $this->Niveau());
     $elemContenu->Attach($contenu);
     $divContenu->Attach($elemContenu);
     $elem->Attach($divContenu);
     return $elem;
 }
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(1, 1, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_NOM));
     $org->SetLargeurCellule(1, 1, '100%');
     $elem->Attach($org);
     return $elem;
 }
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(1, 2, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ID));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE)));
     $org->SetLargeurCellule(1, 1, '10%');
     $org->SetLargeurCellule(1, 2, '90%');
     $elem->Attach($org);
     return $elem;
 }
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(1, 2, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_VERSION));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(COL_COMMENTAIRE));
     $org->SetLargeurCellule(1, 1, '20%');
     $org->SetLargeurCellule(1, 2, '80%');
     $elem->Attach($org);
     return $elem;
 }
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(1, 3, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_SYMBOLE));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(COL_LIBELLE));
     $org->AttacherCellule(1, 3, $this->ConstruireChamp(COL_ACTIVE));
     $org->SetLargeurCellule(1, 1, '20%');
     $org->SetLargeurCellule(1, 2, '70%');
     $org->SetLargeurCellule(1, 3, '10%');
     $elem->Attach($org);
     return $elem;
 }
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(1, 5, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ID));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE)));
     $org->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_DESCRIPTION, COL_LIBELLE)));
     $org->AttacherCellule(1, 4, $this->ConstruireChamp(COL_NIVEAUGRADEMINIMUM));
     $org->AttacherCellule(1, 5, $this->ConstruireChamp(COL_PARAMETRABLE));
     $org->SetLargeurCellule(1, 1, '5%');
     $org->SetLargeurCellule(1, 2, '20%');
     $org->SetLargeurCellule(1, 3, '50%');
     $org->SetLargeurCellule(1, 4, '15%');
     $org->SetLargeurCellule(1, 5, '10%');
     $elem->Attach($org);
     return $elem;
 }
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(1, 5, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ID));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE)));
     $org->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_DESCRIPTION, COL_LIBELLE)));
     $org->AttacherCellule(1, 4, $this->ConstruireChamp(COL_NOMFICHIER));
     $org->AttacherCellule(1, 5, $this->ConstruireChamp(COL_ACTIF));
     $org->SetLargeurCellule(1, 1, '5%');
     $org->SetLargeurCellule(1, 2, '15%');
     $org->SetLargeurCellule(1, 3, '40%');
     $org->SetLargeurCellule(1, 4, '30%');
     $org->SetLargeurCellule(1, 5, '10%');
     $elem->Attach($org);
     return $elem;
 }
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(2, 1, true);
     $sousOrg1 = new SOrganiseur(1, 5, true);
     $sousOrg1->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ICONE));
     $sousOrg1->AttacherCellule(1, 2, $this->ConstruireChamp(COL_NOM));
     $sousOrg1->AttacherCellule(1, 3, $this->ConstruireChamp(COL_DESCRIPTION));
     $sousOrg1->AttacherCellule(1, 4, $this->ConstruireChamp(COL_NIVEAU));
     $sousOrg1->AttacherCellule(1, 5, $this->ConstruireChamp(array(COL_SUPERGRADE, COL_LIBELLE, COL_LIBELLE)));
     $sousOrg1->SetLargeurCellule(1, 1, '10%');
     $sousOrg1->SetLargeurCellule(1, 2, '20%');
     $sousOrg1->SetLargeurCellule(1, 3, '40%');
     $sousOrg1->SetLargeurCellule(1, 4, '10%');
     $sousOrg1->SetLargeurCellule(1, 5, '20%');
     $sousOrg2 = new SOrganiseur(1, 1, true);
     $sousOrg2->AttacherCellule(1, 1, $this->ConstruireChamp(COL_JOUEUR));
     $sousOrg2->SetLargeurCellule(1, 1, '100%');
     $org->AttacherCellule(1, 1, $sousOrg1);
     $org->AttacherCellule(2, 1, $sousOrg2);
     $elem->Attach($org);
     return $elem;
 }
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(2, 1, true);
     $sousOrg1 = new SOrganiseur(1, 4, true);
     $sousOrg1->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ID));
     $sousOrg1->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE)));
     $sousOrg1->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_MENU, COL_LIBELLE, COL_LIBELLE)));
     $sousOrg1->AttacherCellule(1, 4, $this->ConstruireChamp(COL_DEPENDFONCTIONNALITE));
     $sousOrg1->SetLargeurCellule(1, 1, '5%');
     $sousOrg1->SetLargeurCellule(1, 2, '45%');
     $sousOrg1->SetLargeurCellule(1, 3, '30%');
     $sousOrg1->SetLargeurCellule(1, 4, '20%');
     $sousOrg2 = new SOrganiseur(1, 2, true);
     $sousOrg2->AttacherCellule(1, 1, $this->ConstruireChamp(COL_CONTEXTE));
     $sousOrg2->AttacherCellule(1, 2, $this->ConstruireChamp(COL_FONCTIONNALITE));
     $sousOrg2->SetLargeurCellule(1, 1, '50%');
     $sousOrg2->SetLargeurCellule(1, 2, '50%');
     $org->AttacherCellule(1, 1, $sousOrg1);
     $org->AttacherCellule(2, 1, $sousOrg2);
     $elem->Attach($org);
     return $elem;
 }
Beispiel #10
0
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $elem->Attach($this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE)));
     return $elem;
 }
Beispiel #11
0
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(4, 4, true);
     $org->FusionnerCellule(1, 1, 1, 0);
     $org->FusionnerCellule(1, 2, 0, 1);
     $org->FusionnerCellule(2, 2, 0, 2);
     $org->FusionnerCellule(3, 1, 0, 3);
     $org->FusionnerCellule(4, 1, 0, 3);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ICONE));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(COL_NOM));
     $org->AttacherCellule(1, 4, $this->ConstruireChamp(array(COL_JEU, COL_LIBELLE, COL_LIBELLE)));
     $org1 = new SOrganiseur(1, 3, true);
     $org1->AttacherCellule(1, 1, $this->ConstruireChamp(array(COL_SERVEUR, COL_LIBELLE, COL_LIBELLE)));
     $org1->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_COMMUNAUTE, COL_LIBELLE, COL_LIBELLE)));
     $org1->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_TYPEGROUPE, COL_LIBELLE, COL_LIBELLE)));
     $org1->SetLargeurCellule(1, 1, '33%');
     $org1->SetLargeurCellule(1, 2, '33%');
     $org1->SetLargeurCellule(1, 3, '34%');
     $org->AttacherCellule(2, 2, $org1);
     $org->AttacherCellule(3, 1, $this->ConstruireChamp(COL_DESCRIPTION));
     $org->AttacherCellule(4, 1, $this->ConstruireChamp(COL_HISTOIRE));
     $org->SetLargeurCellule(1, 1, '16%');
     $org->SetLargeurCellule(1, 2, '56%');
     $org->SetLargeurCellule(1, 4, '28%');
     $org->SetLargeurCellule(3, 1, '100%');
     $org->SetLargeurCellule(4, 1, '100%');
     $elem->Attach($org);
     return $elem;
 }
 protected function ConstruireElemConsultation()
 {
     $elem = parent::ConstruireElemConsultation();
     $org = new SOrganiseur(2, 1, true);
     $sousOrg1 = new SOrganiseur(1, 5, true);
     $sousOrg1->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ICONE));
     $sousOrg1->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE)));
     $sousOrg1->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_DESCRIPTION, COL_LIBELLE)));
     $sousOrg1->AttacherCellule(1, 4, $this->ConstruireChamp(COL_NIVEAU));
     $sousOrg1->AttacherCellule(1, 5, $this->ConstruireChamp(COL_POIDSVOTERECRUTEMENT));
     $sousOrg1->SetLargeurCellule(1, 1, '10%');
     $sousOrg1->SetLargeurCellule(1, 2, '30%');
     $sousOrg1->SetLargeurCellule(1, 3, '40%');
     $sousOrg1->SetLargeurCellule(1, 4, '10%');
     $sousOrg1->SetLargeurCellule(1, 5, '10%');
     $sousOrg2 = new SOrganiseur(1, 1, true);
     $sousOrg2->AttacherCellule(1, 1, $this->ConstruireChamp(COL_FONCTIONNALITE));
     $sousOrg2->SetLargeurCellule(1, 1, '100%');
     $org->AttacherCellule(1, 1, $sousOrg1);
     $org->AttacherCellule(2, 1, $sousOrg2);
     $elem->Attach($org);
     return $elem;
 }