[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [uk] [vi] [zh] Espace de traduction



July 2010 — updated on : June 2010

All the versions of this article:

The |find filter is applied to an array to check the existence of a specific value within that array (table)

The |find file is used to check the existence of a given value in the array to which it is applied:

[(#GET{my_array}|find{the_value}|oui) This text will display if the value of "the_value" is included in the "my_array" member values.]

If #GET{my_array} is not a PHP type table/array, the tag being filtered by |find will not return anything.

Show the template of this page Site powered by SPIP | Translation area | Private area