Ejemplo n.º 1
0
 protected function ConstruireElemCreation()
 {
     $elem = parent::ConstruireElemCreation();
     $org = new SOrganiseur(1, 2, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_NOM, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(COL_DESCRIPTION, LISTE_CHAMPTYPE_CREAT));
     $org->SetLargeurCellule(1, 1, '30%');
     $org->SetLargeurCellule(1, 2, '70%');
     $elem->Attach($org);
     return $elem;
 }
Ejemplo n.º 2
0
 protected function ConstruireElemCreation()
 {
     $elem = parent::ConstruireElemCreation();
     $org = new SOrganiseur(1, 2, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ID, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE), LISTE_CHAMPTYPE_CREAT));
     $org->SetLargeurCellule(1, 1, '10%');
     $org->SetLargeurCellule(1, 2, '90%');
     $elem->Attach($org);
     return $elem;
 }
Ejemplo n.º 3
0
 protected function ConstruireElemCreation()
 {
     $elem = parent::ConstruireElemCreation();
     $org = new SOrganiseur(1, 2, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_VERSION, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(COL_COMMENTAIRE, LISTE_CHAMPTYPE_CREAT));
     $org->SetLargeurCellule(1, 1, '20%');
     $org->SetLargeurCellule(1, 2, '80%');
     $elem->Attach($org);
     return $elem;
 }
Ejemplo n.º 4
0
 protected function ConstruireElemCreation($titre = '', $contenu = '', $deplie = true)
 {
     $org = new SOrganiseur(1, 2, true);
     if ($titre === '' || is_string($titre)) {
         $elemTitreChamp = new SElement($this->prefixIdClass . LISTECLASS_ELEMTITRECHAMP . $this->Niveau());
         $elemTitreChamp->AjouterClasse(LISTECLASS_ELEMTITRECHAMP . $this->Niveau());
         $elemTitreChamp->SetText($titre);
         $org->AttacherCellule(1, 1, $elemTitreChamp);
     } else {
         $org->AttacherCellule(1, 1, $titre);
     }
     $org->SetLargeurCellule(1, 1, '100%');
     $org->AjouterPropCellule(1, 2, PROP_STYLE, 'min-width: 20px');
     $org->AjouterClasseCellule(1, 2, LISTE_JQ_ELEM_INDIC);
     $elemIndic = new SElement($this->prefixIdClass . LISTECLASS_ELEMINDIC . $this->Niveau());
     $elemIndic->AjouterClasse(LISTECLASS_ELEMINDIC . $this->Niveau());
     if ($deplie === true) {
         $elemIndic->SetText('-');
     } else {
         $elemIndic->SetText('+');
     }
     $org->AttacherCellule(1, 2, $elemIndic);
     $elem = parent::ConstruireElemCreation($org, $contenu);
     $elem->AddClass(LISTE_JQ_ELEM_PLIANT);
     return $elem;
 }
Ejemplo n.º 5
0
 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 ConstruireElemCreation()
 {
     $elem = parent::ConstruireElemCreation();
     $org = new SOrganiseur(2, 1, true);
     $sousOrg1 = new SOrganiseur(1, 5, true);
     $sousOrg1->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ICONE, LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 2, $this->ConstruireChamp(COL_NOM, LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 3, $this->ConstruireChamp(COL_DESCRIPTION, LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 4, $this->ConstruireChamp(COL_NIVEAU, LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 5, $this->ConstruireChamp(array(COL_SUPERGRADE, COL_ID), LISTE_CHAMPTYPE_CREAT));
     $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, LISTE_CHAMPTYPE_CREAT));
     $sousOrg2->SetLargeurCellule(1, 1, '100%');
     $org->AttacherCellule(1, 1, $sousOrg1);
     $org->AttacherCellule(2, 1, $sousOrg2);
     $elem->Attach($org);
     return $elem;
 }
Ejemplo n.º 7
0
 protected function ConstruireElemCreation()
 {
     $elem = parent::ConstruireElemCreation();
     $org = new SOrganiseur(2, 1, true);
     $sousOrg1 = new SOrganiseur(1, 4, true);
     $sousOrg1->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ID, LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE), LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_MENU, COL_ID), LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 4, $this->ConstruireChamp(COL_DEPENDFONCTIONNALITE, LISTE_CHAMPTYPE_CREAT));
     $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, LISTE_CHAMPTYPE_CREAT));
     $sousOrg2->AttacherCellule(1, 2, $this->ConstruireChamp(COL_FONCTIONNALITE, LISTE_CHAMPTYPE_CREAT));
     $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;
 }
Ejemplo n.º 8
0
 protected function ConstruireElemCreation()
 {
     $elem = parent::ConstruireElemCreation();
     $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, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(COL_NOM, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 4, $this->ConstruireChamp(array(COL_JEU, COL_ID), LISTE_CHAMPTYPE_CREAT));
     $org1 = new SOrganiseur(1, 3, true);
     $org1->AttacherCellule(1, 1, $this->ConstruireChamp(array(COL_SERVEUR, COL_ID), LISTE_CHAMPTYPE_CREAT));
     $org1->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_COMMUNAUTE, COL_ID), LISTE_CHAMPTYPE_CREAT));
     $org1->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_TYPEGROUPE, COL_ID), LISTE_CHAMPTYPE_CREAT));
     $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, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(4, 1, $this->ConstruireChamp(COL_HISTOIRE, LISTE_CHAMPTYPE_CREAT));
     $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 ConstruireElemCreation()
 {
     $elem = parent::ConstruireElemCreation();
     $org = new SOrganiseur(1, 5, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ID, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE), LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_DESCRIPTION, COL_LIBELLE), LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 4, $this->ConstruireChamp(COL_NIVEAUGRADEMINIMUM, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 5, $this->ConstruireChamp(COL_PARAMETRABLE, LISTE_CHAMPTYPE_CREAT));
     $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;
 }
Ejemplo n.º 10
0
 protected function ConstruireElemCreation()
 {
     $elem = parent::ConstruireElemCreation();
     $org = new SOrganiseur(2, 1, true);
     $sousOrg1 = new SOrganiseur(1, 5, true);
     $sousOrg1->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ICONE, LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE), LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_DESCRIPTION, COL_LIBELLE), LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 4, $this->ConstruireChamp(COL_NIVEAU, LISTE_CHAMPTYPE_CREAT));
     $sousOrg1->AttacherCellule(1, 5, $this->ConstruireChamp(COL_POIDSVOTERECRUTEMENT, LISTE_CHAMPTYPE_CREAT));
     $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, LISTE_CHAMPTYPE_CREAT));
     $sousOrg2->SetLargeurCellule(1, 1, '100%');
     $org->AttacherCellule(1, 1, $sousOrg1);
     $org->AttacherCellule(2, 1, $sousOrg2);
     $elem->Attach($org);
     return $elem;
 }
 protected function ConstruireElemCreation()
 {
     $elem = parent::ConstruireElemCreation();
     $org = new SOrganiseur(1, 5, true);
     $org->AttacherCellule(1, 1, $this->ConstruireChamp(COL_ID, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 2, $this->ConstruireChamp(array(COL_LIBELLE, COL_LIBELLE), LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 3, $this->ConstruireChamp(array(COL_DESCRIPTION, COL_LIBELLE), LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 4, $this->ConstruireChamp(COL_NOMFICHIER, LISTE_CHAMPTYPE_CREAT));
     $org->AttacherCellule(1, 5, $this->ConstruireChamp(COL_ACTIF, LISTE_CHAMPTYPE_CREAT));
     $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;
 }