Quantcast
Channel: OXID Community Forum
Viewing all articles
Browse latest Browse all 6951

Which variables are available in the theme?

$
0
0
I would like to know what data I can access and what, exactly, it represents and when it is available. I am aware of [{debug}], but that still doesn't tell me much.

For instance the $oxcmp_categories (btw what does the cmp stand for?) variable. It contains an oxCategoryList Object. That doesn't tell me anything about how to access stuff inside it (or what data is inside it. Probably categories, but how to get them? No clue.)

Same with the $oViewConf or $oView variable. Where can I see what I can access or if there are any conditions as to when the var will even be available (or what it holds, or if only parts of it will be available in some place but not in another)?

I'm hoping someone can clear up this mystery for me, because it's been giving me headaches for weeks.

Viewing all articles
Browse latest Browse all 6951

Trending Articles