jeudi 25 avril 2019

JSON file with value session?

Is it possible to use an if statement inside a JSON file with value session?

Like this:

[
  {"if":"$_SESSION['droit']==2","name":"last_connect","title":"Last connect","breakpoints":"xs sm md","visible":true,"filterable":false, "style":{"maxWidth":120,"whiteSpace":"nowrap","text-align":"center"}}
]

Aucun commentaire:

Enregistrer un commentaire