[FLOW3-general] "var_dumping" a Model
Andreas Wolf
typo3ml at andreaswolf.info
Mon Apr 23 17:26:16 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
Am 23.04.2012 17:13, schrieb Davide CD:
> what can I do to dump a variable (a Model, a Doctrine_Object...) in
> order to have a readable result and not all those information
> relating to doctrine objects or FLOW3 Framework? I would like to
> get only my variables (my properties, for example). var_dump just
> crashes my browser :-)
you could try to use the debug view helper, like this:
<f:debug>{your.variable}</f.debug>
Regards
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEAREIAAYFAk+VdJgACgkQHWtXp155bP+utwCcDtqCwIIKHI1X30QeWrzdLLqP
6rsAn0OfLL+G/0Qaq1C1KdOXseD7s4Ss
=vzU1
-----END PGP SIGNATURE-----
More information about the FLOW3-general
mailing list