News:

Looking for documentation? Take a look on our wiki

Main Menu

How to know what variables are useable?

Started by AbsoluteVM, April 26, 2012, 09:37:48 AM

Previous topic - Next topic

AbsoluteVM

I'm trying to find out an answer to what might seem trivial, but need some help.

How do you know what is referable by, for example $this->product->this_reference_here

Is there a list of variables that are made available, or a way of printing the contents and knowing what I can use.


Milbo

use in your layout vmdebug('my vars',$this); and enable debug in the config
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

PRO