Jump to content

Smarty Function / Variable list


Recommended Posts

Hi,

 

I'm new to developing on Prestashop and Smarty templating system. The templating system looks relatively simple to grasp in terms of syntax and general coding practices, however I am a bit stumped by where the variables are being declared and which functions are available from Prestashop.

 

I see in the cms.tpl file:

{if isset($cms) && !isset($cms_category)}

Where is the $cms class object being declared? Is this a PHP object, or a Smarty Object? And how can I obtain a full list of available objects and their methods. Is this something that I need to trawl through the module php file for?

 

There seems to be a lack of information on this.

 

Any help would be greatly appreciated.

Link to comment
Share on other sites

×
×
  • Create New...