Need help to understanding evaluateExpression()

Hi, I can’t understand how evaluateExpression() works, can any one help me how to understand with this?

maybe could you make the sample code to be followed by me, so I can understand how it works…

thank you

I can’t explain it to you, I don’t understand it that well, but I can point you at an example of it’s use.

Have a look at

In EImageColumn.php there is a function renderDataCellContent that uses evaluateExpression.

evaluateExpression() can accept a string or a user callback function…

if you send a string that string is evaluated… take a look at the PHP eval() function

if you send a callback function that function is called by PHP function call_user_func_array()