projet-php/Docs/generateMedecin

10 lines
298 B
Plaintext
Raw Permalink Normal View History

2015-12-03 10:56:40 +00:00
[
'{{repeat(100)}}',
{
Id: '{{index()}}',
// retourne 'M' ou 'F' aléatoirement
Civilite: function(tags){ return (tags.gender() == 'female') ? 'F' : 'M'; },
Nom: function(tags){ return tags.surname().toUpperCase(); },
Prenom: function(tags){ return tags.firstName(); }
}
]