Download for Windows Premium
Publiciteit
variable de template
template variable
Cette méthode vous permet de créer une variable de template.
This method allows you to create a template variable.
Assigner une valeur par défaut à une variable de template
Assigning a template variable its default value
Si vous voulez récupérer la valeur d'une variable de template déjà initialisée, vous pouvez utiliser cette méthode.
If you want to get the value of a template variable that is already initialized, you can use this method
Si vous définissez l'attribut assign, la sortie sera assignée à la variable de template désignée plutôt que d'être affichée dans le template.
If you supply the assign attribute, the output of the {eval} function will be assigned to this template variable instead of being output to the template.
vous pouvez spécifier un attribut optionnel 'assign' qui définit une variable de template dans laquelle la sortie de {include} sera stockée plutôt qu'affichée.
you can optionally pass the 'assign' attribute, which will specify a template variable name that the output of {include} will be assigned to instead of displayed.
Nous allons créer une instance de Smarty, assigner une valeur à une variable de template et afficher le résultat avec pour chacun des répertoires Smarty.
We'll create an instance of Smarty, assign() a template variable and display() the index.tpl file. Example 2.9.
Variable de template dans laquelle la sortie sera assignée
Template variable the output will be assigned to
Comme vous le voyez, rien n'est fait au niveau de la réponse (à part dans chaque action l'assignation d'un contenu principal dans la variable de template "MAIN").
As you can see, nothing else is done on the response (except that, in each action, an assignment of a "MAIN" template variable with the content of a CRUD page).
Er zijn geen resultaten gevonden voor deze term.
Ga naar Premium voor toegang tot miljoenen vertaalvoorbeelden, onbeperkt woorden opslaan en leren, zonder advertenties.

Synoniemen voor variable de template in het Frans

Publiciteit

Resultaten: 8. Exact: 8. Verstreken tijd: 39 ms.