I am studying SAP Anywhere .twig objects, and I want to display collection
object's content by using {{ dump(user) }}, but it's not displaying any data. This documentation is for symphony, I wonder if SAP Anywhere has different .twig language.
Asked
Active
Viewed 119 times
0

Sandra Rossi
- 11,934
- 5
- 22
- 48

Ulysses
- 187
- 2
- 17
-
1Make sure you load the [dump](http://twig.sensiolabs.org/doc/functions/dump.html) function – DarkBee Sep 14 '16 at 05:41
-
i miss that part there! ^_^ tnx. where to put the function? – Ulysses Sep 14 '16 at 05:44
-
by the way, thats for php only, I am in SAP Anywhere. – Ulysses Sep 14 '16 at 05:49
-
You will need the locate the code/source where SAP loads and configures `twig`, don't know much about it myself. But the problem you don't see anything is probably because you run `twig` without `debug` on, thus it does not display errors about non-existing functions – DarkBee Sep 14 '16 at 05:58
-
it has no settings. It's an online e-commerce cms. – Ulysses Sep 14 '16 at 06:02
-
So you can't access any source files or change the `debug` mode? – DarkBee Sep 14 '16 at 06:09
-
no. All .twig examples out there is for php only. – Ulysses Sep 14 '16 at 06:12