Ce fichier contient la classe php HtmlForm. Plus de détails...
Fonctions membres publiques | |
| HtmlForm ($pMethode, $pScript, $pClasse="", $pNom="Form", $sCssLabel="", $sCssValue="attributeFormIdValue", $lang="fr", $onSubmit="", $externUrl="", $autoComplete="Off") | |
| formStart ($border=0) | |
| formEnd () | |
| noMessageFormEnd () | |
| end ($affiche=TRUE, $bMessage=true) | |
| buttonField ($pLibelle, $pNom, $pOnClick) | |
| hiddenField ($pNom, $pValeur) | |
| textField ($pLibelle, $pNom, $pVal, $pTaille, $pTailleMax=0, $pOnBlur="", $sClass="") | |
| cascadeTextField ($pLibelle, $pNom, $pVal, $pTaille, $pOnKeyUp, $pTailleMax=0, $pOnBlur="") | |
| IntegerField ($pLibelle, $pNom, $pVal, $pTaille, $pTailleMax=0, $pOnBlur="") | |
| numberField ($pLibelle, $pNom, $pVal, $pTaille, $pTailleMax=0, $pOnBlur="") | |
| cascadeNumberField ($pLibelle, $pNom, $pVal, $pTaille, $pOnKeyUp, $pTailleMax=0, $pOnBlur="") | |
| cascadeINTEGERField ($pLibelle, $pNom, $pVal, $pTaille, $pOnKeyUp, $pTailleMax=0, $pOnBlur="") | |
| listField ($sLibelle, $sNom, $sVal, $iTaille, $aListe, $aMultiple=false, $iWidthList="", $sOnChange="") | |
| internalSqlListField ($sLibelle, $sNom, $sVal, $iTaille, $oBd, $sSql, $aMultiple=false, $iWidthList="", $bEmptyOption=true) | |
| listParentField ($sLibelle, $sNom, $sVal, $iTaille, $aListe, $sParent, $iWidthList="") | |
| labelField ($pLibelle, $pNom, $pVal) | |
| checkIsPdfFile ($sFilePath) | |
| radioField ($pLibelle, $pNom, $pVal, $pListe, $pInactiveMode=false, $sCssLabelListe="") | |
| areaField ($pLibelle, $pNom, $pVal, $pLig, $pCol, $sAjoutHtml="") | |
| areaReadField ($pLibelle, $pNom, $pVal, $pLig, $pCol) | |
| doubleListField ($pLibelle, $pNom1, $pNom2, $pVal, $pTaille, $pListe1, $pListe2, $pLargeur, $sObjetListe1, $sObjetListe2, $sObjetStock, $sObjetAffiche="") | |
| submitField ($pLibelle, $pNom, $pOnClick="") | |
| cascadeListField ($sLibelle, $sNom, $sVal, $iTaille, $aListe="", $sOnChange="", $iWidthList="") | |
| cascadeListParentField ($sLibelle, $sNom, $sVal, $iTaille, $aListe, $sParent, $sOnChange="", $iWidthList="") | |
| linkField ($pLibelle, $pNom, $pHref, $pStyle="", $pImage="", $pGroupeDeLien=null, $pSeparateur="") | |
| uploadField ($pLibelle, $pNom, $pTaille, $pValeur, $pOnChange="", $pId) | |
| fileField ($pLibelle, $pNom, $pTaille, $pOnChange="") | |
| calendarField ($pLibelle, $pNom, $pVal, $pTaille, $sFormat= 'dd/mm/yy', $pTailleMax=0, $pOnBlur="") | |
| calendarDateTimeField ($pLibelle, $pNom, $pVal, $pTaille, $sFormat= 'dd/mm/yy', $pTailleMax=0, $pOnBlur="") | |
| cascadeCalendarField ($pLibelle, $pNom, $pVal, $pTaille, $pOnKeyUp, $sFormat= 'dd/mm/yy', $pTailleMax=0, $pOnBlur="", $sClass="") | |
| FolderTreeField ($pNom, $pVal, $pWidth, $pHeight) | |
| subFormEnd () | |
| PasswordField ($pLibelle, $pNom, $pVal, $pTaille, $pTailleMax=0) | |
| OpenlayersField ($pLibelle, $pNom, $iLongitude, $iLatitude, $iZoom, $iWidth, $iHeight, $sNomFlux, $sFlux, $sCouches) | |
| Openlayers2Field ($sTitle, $sName, $iWidth, $iHeight, $sProjection, $aLayers, $aExtent, $aTools, $aFeature) | |
| graphicsPaletteField ($sLabel, $sName, $sValTexte, $sFormat="unary", $sSeparator=",", $bVisible=false) | |
| SliderField ($pLibelle, $pNom, $iDefaultvalue, $pTaille, $ivalueMin=0, $ivalueMax) | |
| HtmlEditor ($pLibelle, $pNOM, $iDefaultValue, $iHeight) | |
| treeviewField ($pLibelle, $pNom, $iDefaultvalue, $iWidth, $iHeight, $sTemplate="") | |
| multiTreeviewField ($sTitle, $sName, $sValue, $iWidth, $iHeight, $sTemplate="") | |
| addLine ($texte, $sAlign="center", $sClass="") | |
| groupComponentStart ($sName, $sAlign, $sFrameBorder=0) | |
| groupComponentEnd () | |
| predefinedListTag ($sTitle, $sName, $sValues, $aAvailableTags, $iWidth) | |
| labelFromIdField ($pLibelle, $pNom, $pVal, $sIdentifiant, $sLabel, $sSchema, $sTable, $oBd) | |
| frameField ($pLibelle, $pNom, $pVal, $iWidth, $iHeight) | |
Champs de données | |
| $sFolderLib ="" | |
| $lang | |
| $methode | |
| $CssTable | |
| $CssLabel | |
| $CssValue | |
| $nbChamps =0 | |
| $transfertFichier =0 | |
| $onSubmit ="" | |
| $externUrl ="" | |
| $autoComplete ="Off" | |
Cette classe à été élaborée par Philippe Rigaux. Elle permet de générer dynamiquement et simplement les champs html.
| addLine | ( | $texte, | |
$sAlign = "center", |
|||
$sClass = "" |
|||
| ) |
Ajout d'une ligne de séparation accompagnée d'un texte.
| $texte | Texte quelconque. |
| $sAlign | Chaine alignement du texte (facultatif). |
| $sClass | Chaine classe css du texte (facultatif). |
| areaField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pLig, | |||
| $pCol, | |||
$sAjoutHtml = "" |
|||
| ) |
Champ TextArea
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pLig | Nombre de lignes du champ. |
| $pCol | Nombre de colonnes du champ. |
| $sAjoutHtml | Html à ajouter à la suite du champ. |
| areaReadField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pLig, | |||
| $pCol | |||
| ) |
Champ TextArea non modifiable
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pLig | Nombre de lignes du champ. |
| $pCol | Nombre de colonnes du champ. |
| buttonField | ( | $pLibelle, | |
| $pNom, | |||
| $pOnClick | |||
| ) |
Champ bouton
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pOnClick | Code exécuté sur clic. |
| calendarDateTimeField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
$sFormat = 'dd/mm/yy', |
|||
$pTailleMax = 0, |
|||
$pOnBlur = "" |
|||
| ) |
Champ calendrier avec saisie de l'heure.
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ cache. |
| $pVal | valeur du champ. |
| $pTaille | Taille du champ. |
| $sFormat | Format de la date. |
| $pTailleMax | Taille max du champ. |
| $pOnBlur | Evènement sur perte de focus. |
| calendarField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
$sFormat = 'dd/mm/yy', |
|||
$pTailleMax = 0, |
|||
$pOnBlur = "" |
|||
| ) |
Champ calendrier.
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ cache. |
| $pVal | valeur du champ. |
| $pTaille | Taille du champ. |
| $sFormat | Format de la date. |
| $pTailleMax | Taille max du champ. |
| $pOnBlur | Evènement sur perte de focus. |
| cascadeCalendarField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
| $pOnKeyUp, | |||
$sFormat = 'dd/mm/yy', |
|||
$pTailleMax = 0, |
|||
$pOnBlur = "", |
|||
$sClass = "" |
|||
| ) |
Champ calendrier cascade.
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ cache. |
| $pVal | valeur du champ. |
| $pTaille | Taille du champ. |
| $pOnKeyUp | Evènement sur fin d'édition. |
| $sFormat | Format de la date. |
| $pTailleMax | Taille max du champ. |
| $pOnBlur | Evènement sur perte de focus. |
| $sClass | Surcharge de la classe. |
| cascadeINTEGERField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
| $pOnKeyUp, | |||
$pTailleMax = 0, |
|||
$pOnBlur = "" |
|||
| ) |
Champ n'acceptant que le type entier avec cascade
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pTaille | Taille du champ. |
| $pOnKeyUp | Evenement sur fin d'édition. |
| $pTailleMax | Taille maximun du champ (falcultatif). |
| $pOnBlur | Evenement sur perte du focus (falcultatif). |
| cascadeListField | ( | $sLibelle, | |
| $sNom, | |||
| $sVal, | |||
| $iTaille, | |||
$aListe = "", |
|||
$sOnChange = "", |
|||
$iWidthList = "" |
|||
| ) |
Champ liste Cascade
| $sLibelle | Libellé du champ. |
| $sNom | Nom du champ. |
| $sVal | Valeur du champ. |
| $iTaille | Taille du champ. |
| $aListe | Liste du champ. |
| $sOnChange | Valeur du paramètre "onChange" de la liste générée. (ne pas oublier de mettre la fonction entre guillemets) |
| $iWidthList | Longueur du champ. |
| cascadeListParentField | ( | $sLibelle, | |
| $sNom, | |||
| $sVal, | |||
| $iTaille, | |||
| $aListe, | |||
| $sParent, | |||
$sOnChange = "", |
|||
$iWidthList = "" |
|||
| ) |
Champ Liste cascade avec édition de l'objet parent
| $sLibelle | Libellé du champ. |
| $sNom | Nom du champ. |
| $sVal | Valeur du champ. |
| $iTaille | Taille du champ. |
| $aListe | Liste du champ. |
| $sParent | Objet parent |
| $sOnChange | Valeur du paramètre "onChange" de la liste générée. (ne pas oublier de mettre la fonction entre guillemets) |
| $iWidthList | Longueur du champ. |
| cascadeNumberField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
| $pOnKeyUp, | |||
$pTailleMax = 0, |
|||
$pOnBlur = "" |
|||
| ) |
Champ n'acceptant que le type numérique avec cascade
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pTaille | Taille du champ. |
| $pOnKeyUp | Evenement sur fin d'édition. |
| $pTailleMax | Taille maximun du champ (falcultatif). |
| $pOnBlur | Evenement sur perte du focus (falcultatif). |
| cascadeTextField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
| $pOnKeyUp, | |||
$pTailleMax = 0, |
|||
$pOnBlur = "" |
|||
| ) |
Champ Texte cascade
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pOnKeyUp | Evenement sur fin d'édition. |
| $pTaille | Taille du champ. |
| $pTailleMax | Taille maximun du champ (falcultatif). |
| $pOnBlur | Evenement sur perte du focus (falcultatif). |
| checkIsPdfFile | ( | $sFilePath | ) |
Permet de vérifier si le fichier est un pdf.
| $sFilePath | Le chemin du fichier |
| doubleListField | ( | $pLibelle, | |
| $pNom1, | |||
| $pNom2, | |||
| $pVal, | |||
| $pTaille, | |||
| $pListe1, | |||
| $pListe2, | |||
| $pLargeur, | |||
| $sObjetListe1, | |||
| $sObjetListe2, | |||
| $sObjetStock, | |||
$sObjetAffiche = "" |
|||
| ) |
Champ double Liste
| $pLibelle | Libellé du champ. |
| $pNom1 | Nom du premier champ liste. |
| $pNom2 | Nom du deuxième champ liste. |
| $pVal | Valeur du champ par défaut. |
| $pTaille | Taille du champ liste. |
| $pListe1 | Liste du premier champ liste. |
| $pListe2 | Liste du deuxième champ liste. |
| $pLargeur | Largeur des listes déroulantes. |
| $sObjetListe1 | premier champ liste en javascript. |
| $sObjetListe2 | deuxième champ liste en javascript. |
| $sObjetStock | objet dans lequel on stocke les valeurs sélectionnées. |
| $sObjetAffiche | objet dans lequel on affiche les valeurs sélectionnées. |
| end | ( | $affiche = TRUE, |
|
$bMessage = true |
|||
| ) |
Fin du formulaire, avec affichage éventuel.
| $affiche | Affichage du formulaire (OUI ou NON). |
| $bMessage | Définit si le formulaire affiche les message de succés et d'erreur. |
| fileField | ( | $pLibelle, | |
| $pNom, | |||
| $pTaille, | |||
$pOnChange = "" |
|||
| ) |
Méthode pour créer un champ upload
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pTaille | Taille du champ. |
| $pOnChange | Évènement ONCHANGE du champ. |
| FolderTreeField | ( | $pNom, | |
| $pVal, | |||
| $pWidth, | |||
| $pHeight | |||
| ) |
Champ arborescence
| $pNom | Nom du champ |
| $pVal | Chemin à parcourir |
| $pWidth | largeur du champ |
| $pHeight | hauteur du champ |
| formEnd | ( | ) |
Fin du formulaire avec message.
| formStart | ( | $border = 0 | ) |
Départ du formulaire.
| $border | Largeur des bordures de formulaire. |
| frameField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $iWidth, | |||
| $iHeight | |||
| ) |
| graphicsPaletteField | ( | $sLabel, | |
| $sName, | |||
| $sValTexte, | |||
$sFormat = "unary", |
|||
$sSeparator = ",", |
|||
$bVisible = false |
|||
| ) |
Champ palette graphique
| $sLabel | label du champ |
| $sName | nom du champ |
| $sValTexte | valeur du champ |
| $sFormat | format de la couleur (Choix possible: unary(0 à 1), decimal et hexadecimal) |
| $sSeparator | séparateur des couleurs |
| $bVisible | permet d'afficher ou non la couleur sous forme de texte |
| $Format | de la couleur (hexa, dec, bool) |
| groupComponentEnd | ( | ) |
Fin d'un groupe de composant
| groupComponentStart | ( | $sName, | |
| $sAlign, | |||
$sFrameBorder = 0 |
|||
| ) |
Début d'un groupe de composant
| $sName | Nom du groupe de composant. |
| $sAlign | alignement du composant. Valeur possible (left, right, ''). |
| $sFrameBorder | Épaisseur de la bordure. |
| hiddenField | ( | $pNom, | |
| $pValeur | |||
| ) |
Champ caché
| $pNom | Nom du champ. |
| $pValeur | Valeur du champ. |
| HtmlEditor | ( | $pLibelle, | |
| $pNOM, | |||
| $iDefaultValue, | |||
| $iHeight | |||
| ) |
Champ éditeur html
| $pLibelle | : Libellé du champ |
| $pNOM | : Nom du champ |
| $iDefaultValue | : Valeur par défaut |
| $iHeight | : Hauteur du champ |
| HtmlForm | ( | $pMethode, | |
| $pScript, | |||
$pClasse = "", |
|||
$pNom = "Form", |
|||
$sCssLabel = "", |
|||
$sCssValue = "attributeFormIdValue", |
|||
$lang = "fr", |
|||
$onSubmit = "", |
|||
$externUrl = "", |
|||
$autoComplete = "Off" |
|||
| ) |
Constructeur de la classe
| $pMethode | Méthode de formulaire. |
| $pScript | Action effectuée par le formulaire. |
| $pClasse | classe css associée au formulire formulaire. |
| $pNom | Nom du formulaire. |
| $sCssLabel | Classe Css des labels. |
| $sCssValue | classe css des inputs. |
| $lang | lang de l'application. |
| $onSubmit | Action lors du submit du formulaire. |
| $externUrl | : permet de trouver les url lors d'un appel externe |
| $autoComplete | : permet de définir sir le formulaire utilise l'autocompletion return nothing la fonction réalise un echo |
| IntegerField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
$pTailleMax = 0, |
|||
$pOnBlur = "" |
|||
| ) |
Champ n'acceptant que le type entier
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pTaille | Taille du champ. |
| $pTailleMax | Taille maximun du champ (falcultatif). |
| $pOnBlur | Evenement sur perte du focus (falcultatif). |
| internalSqlListField | ( | $sLibelle, | |
| $sNom, | |||
| $sVal, | |||
| $iTaille, | |||
| $oBd, | |||
| $sSql, | |||
$aMultiple = false, |
|||
$iWidthList = "", |
|||
$bEmptyOption = true |
|||
| ) |
| labelField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal | |||
| ) |
Gestion d'un champ en affichage uniquement
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| labelFromIdField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $sIdentifiant, | |||
| $sLabel, | |||
| $sSchema, | |||
| $sTable, | |||
| $oBd | |||
| ) |
Composant permettant de récupérer un label en fonction d'un id puis de créer un labelField.
| $pLibelle | : Libellé du champ. |
| $pNom | : Nom du champ. |
| $pVal | : Valeur du champ. |
| $sIdentifiant | : Nom de la colonne de l'identifiant. |
| $sLabel | : Nom de la colonne du libellé. |
| $sSchema | : Schéma. |
| $sTable | : Nom de la table. |
| linkField | ( | $pLibelle, | |
| $pNom, | |||
| $pHref, | |||
$pStyle = "", |
|||
$pImage = "", |
|||
$pGroupeDeLien = null, |
|||
$pSeparateur = "" |
|||
| ) |
Champ lien
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pHref | Code exécuté sur clic. |
| $pStyle | Style CSS associé au lien. |
| $pImage | Image associée au lien. |
| $pGroupeDeLien | Place dans le groupe de liens (si groupe de liens...). |
| $pSeparateur | Charactère séparateur dans le groupe de liens. |
| listField | ( | $sLibelle, | |
| $sNom, | |||
| $sVal, | |||
| $iTaille, | |||
| $aListe, | |||
$aMultiple = false, |
|||
$iWidthList = "", |
|||
$sOnChange = "" |
|||
| ) |
champ Liste
| $sLibelle | Libellé du champ. |
| $sNom | Nom du champ. |
| $sVal | Valeur du champ. |
| $iTaille | Taille du champ. |
| $aListe | Liste du champ. |
| $aMultiple | Possibilité de sélectionner plusieurs valeurs. |
| $iWidthList | Longueur du champ. |
| listParentField | ( | $sLibelle, | |
| $sNom, | |||
| $sVal, | |||
| $iTaille, | |||
| $aListe, | |||
| $sParent, | |||
$iWidthList = "" |
|||
| ) |
Champ liste permettant de se placer sur l'objet parent
| $sLibelle | Libellé du champ. |
| $sNom | Nom du champ. |
| $sVal | Valeur du champ. |
| $iTaille | Taille du champ. |
| $aListe | Liste du champ. |
| $sParent | Objet parent. |
| $iWidthList | Longueur du champ. |
| multiTreeviewField | ( | $sTitle, | |
| $sName, | |||
| $sValue, | |||
| $iWidth, | |||
| $iHeight, | |||
$sTemplate = "" |
|||
| ) |
Champ multi arborescence
| $sTitle | : Libellé du champ |
| $sName | : Nom du champ |
| $sValue | : Valeurs de la liste déroulante |
| $iWidth | : Largeur du champ |
| $iHeight | : Hauteur du champ |
| $sTemplate | : Template autorisé |
| noMessageFormEnd | ( | ) |
Fin du formulaire sans message.
| numberField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
$pTailleMax = 0, |
|||
$pOnBlur = "" |
|||
| ) |
Champ n'acceptant que le type numérique
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pTaille | Taille du champ. |
| $pTailleMax | Taille maximun du champ (falcultatif). |
| $pOnBlur | Evenement sur perte du focus (falcultatif). |
| Openlayers2Field | ( | $sTitle, | |
| $sName, | |||
| $iWidth, | |||
| $iHeight, | |||
| $sProjection, | |||
| $aLayers, | |||
| $aExtent, | |||
| $aTools, | |||
| $aFeature | |||
| ) |
champ Openlayers
| $sTitle | Libellé du champ. |
| $sName | Nom du champ. |
| $iWidth | Largeur de la carte en pixel (préconisé 500px). |
| $iHeight | hauteur de la carte en pixel (préconisé 300px). |
| $sProjection | Système de projection. |
| $aLayers | Liste des couches. |
| $aExtent | Etendue. |
| $aTools | liste des outils. |
| $aFeature | autres paramètres. |
| OpenlayersField | ( | $pLibelle, | |
| $pNom, | |||
| $iLongitude, | |||
| $iLatitude, | |||
| $iZoom, | |||
| $iWidth, | |||
| $iHeight, | |||
| $sNomFlux, | |||
| $sFlux, | |||
| $sCouches | |||
| ) |
Champ Openlayer (deprecated)
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $iLongitude | Longitude sur laquelle sera centrée. |
| $iLatitude | Latitude sur laquelle sera centrée. |
| $iZoom | Echelle de zoom de la carte. |
| $iWidth | Largeur de la carte en pixel (préconisé 500px). |
| $iHeight | hauteur de la carte en pixel (préconisé 300px). |
| $sNomFlux | Nom du flux WMS (ex : geosignal WMS). |
| $sFlux | Url du flux wms (ex : http://www.geosignal.org/cgi-bin/wmsmap?). |
| $sCouches | Liste des dalles à afficher séparé par des virgules (ex : RASTER1000K,RASTER500K,RASTER250K,RASTER100K,RASTER50K,RASTER25K,RASTER5K). |
| PasswordField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
$pTailleMax = 0 |
|||
| ) |
Champ mot de passe
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pTaille | Taille du champ. |
| $pTailleMax | Taille maximun du champ. |
| predefinedListTag | ( | $sTitle, | |
| $sName, | |||
| $sValues, | |||
| $aAvailableTags, | |||
| $iWidth | |||
| ) |
Gestion
| $sName | Nom du groupe de composant. |
| $aValues | Nom du groupe de composant. |
| $aAvailableTags | Nom du groupe de composant. |
| $iWidth | Nom du groupe de composant. |
| radioField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pListe, | |||
$pInactiveMode = false, |
|||
$sCssLabelListe = "" |
|||
| ) |
Champ radio
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pListe | Liste du champ. |
| $pInactiveMode | Liste du champ. |
| $sCssLabelListe | Css des textes des radio. |
| SliderField | ( | $pLibelle, | |
| $pNom, | |||
| $iDefaultvalue, | |||
| $pTaille, | |||
$ivalueMin = 0, |
|||
| $ivalueMax | |||
| ) |
Champ slider
| $pLibelle | : Libellé du champ |
| $pNom | : Nom du champ |
| $iDefaultvalue | : Valeur par défaut |
| $pTaille | : Taille du champ |
| $ivalueMin | : Valeur minimum du slider |
| $ivalueMax | : Valeur maximum du slider |
| subFormEnd | ( | ) |
Fin du sous-formulaire, avec affichage éventuel.
| submitField | ( | $pLibelle, | |
| $pNom, | |||
$pOnClick = "" |
|||
| ) |
Bouton submit
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pOnClick | Action sur click du formulaire. |
| textField | ( | $pLibelle, | |
| $pNom, | |||
| $pVal, | |||
| $pTaille, | |||
$pTailleMax = 0, |
|||
$pOnBlur = "", |
|||
$sClass = "" |
|||
| ) |
Champ Texte
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ. |
| $pVal | Valeur du champ. |
| $pTaille | Taille du champ. |
| $pTailleMax | Taille maximun du champ (falcultatif). |
| $pOnBlur | Evenement sur perte du focus (falcultatif). |
| $sClass | Surcharge de la classe. |
| treeviewField | ( | $pLibelle, | |
| $pNom, | |||
| $iDefaultvalue, | |||
| $iWidth, | |||
| $iHeight, | |||
$sTemplate = "" |
|||
| ) |
Champ arborescence
| $pLibelle | : Libellé du champ |
| $pNom | : Nom du champ |
| $iDefaultvalue | : Valeur par défaut |
| $iWidth | : Largeur du champ |
| $iHeight | : Hauteur du champ |
| $sTemplate | : Template autorisé |
| uploadField | ( | $pLibelle, | |
| $pNom, | |||
| $pTaille, | |||
| $pValeur, | |||
$pOnChange = "", |
|||
| $pId | |||
| ) |
Champ upload.
| $pLibelle | Libellé du champ. |
| $pNom | Nom du champ cache. |
| $pTaille | Taille du champ. |
| $pValeur | Valeur du champ. |
| $pOnChange | évènement ONCHANGE. |
| $pId | Id du champ fichier. |
| $autoComplete ="Off" |
Autocomplétion
| $CssLabel |
Style des libéllés de champs dans le formulaire.
| $CssTable |
Style de la table contenue dans le formulaire.
| $CssValue |
Style des valeurs des champs dans le formulaire.
| $externUrl ="" |
urlExterne
| $lang |
Langue sélectionnée par l'utilisateur
| $methode |
Méthode de formulaire.
| $nbChamps =0 |
Nombre de champs dans le formulaire.
| $onSubmit ="" |
Validation par la touche entrée
| $sFolderLib ="" |
Variable globale stockant le nom de dossier lib.
| $transfertFichier =0 |
Formulaire d'upload de fichier.