VirtueMart  3.2.14.9808
Static Public Member Functions | Static Public Attributes | List of all members
VmTemplate Class Reference

Static Public Member Functions

static loadVmTemplateStyle ()
 
static getDefaultTemplate ($client_id=0)
 
static getTemplateById ($id)
 
static setVmTemplate ($view, $catTpl=0, $prodTpl=0, $catLayout=0, $prodLayout=0)
 
static setTemplate ($template=0)
 

Static Public Attributes

static $_templates = array()
 
static $_home = array(false,false)
 

Member Function Documentation

static VmTemplate::getDefaultTemplate (   $client_id = 0)
static
Parameters
int$client_idFE is 0, BE is 1
Returns
bool
static VmTemplate::getTemplateById (   $id)
static
static VmTemplate::loadVmTemplateStyle ( )
static
static VmTemplate::setTemplate (   $template = 0)
static

Final setting of template Accepts a string, an id or an array with at least the keys template and params

Author
Max Milbers
static VmTemplate::setVmTemplate (   $view,
  $catTpl = 0,
  $prodTpl = 0,
  $catLayout = 0,
  $prodLayout = 0 
)
static

This function sets the right template on the view

Author
Max Milbers

Member Data Documentation

VmTemplate::$_home = array(false,false)
static
VmTemplate::$_templates = array()
static

The documentation for this class was generated from the following file: