News:

Looking for documentation? Take a look on our wiki

Main Menu

Declaration of "$this" ??

Started by Otto0815, May 02, 2012, 16:05:39 PM

Previous topic - Next topic

Otto0815

Hi,

is there any place where i can find infomation about the different variables??

Most templates are using "$this"; but how can i get the meaning?

Milbo

$this just means the actual context. In a template it is the view, when you want to know, what is in this, use vmdebug('my this',$this);
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/