Table des matières
eZ Publish : opérateur logique false
Date de publication: le samedi 2 avril 2011 à 13h32
Dernière modification: par Pascal BOYER le samedi 2 avril 2011 à 13h46
toutes versions
Summary / Résumé
Creates and returns a boolean FALSE.
Crée et retourne un booléen FALSE.
Usage / Utilisation
false()
Returns / Renvoie
FALSE
Description
This operator creates and returns a boolean FALSE. It can be used to define a boolean variable and in logical comparisons.
Cet opérateur crée et retourne un booléen FALSE. Il est utilisé pour définir une variable booléenne et pour des comparaisons logiques.
Exemples
{def $my_boolean=false()}{if $my_boolean} The truth is out there. {else} The day the earth stood still. {/if}
The following output will be produced: "The day the earth stood still.".
La sortie suivante sera produite: The day the earth stood still.














