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

Public Member Functions

 getCategoryRoute ($catId, $manId)
 
 getCategoryRouteNocache ($catId, $manId)
 
 getCategoryNames ($catId, $catMenuId=0)
 
 getCategoryId ($slug, $catId)
 
 getProductName ($id)
 
 getParentProductcategory ($id)
 
 getProductId ($names, $catId=NULL, $seo_sufix=true)
 
 getManufacturerName ($manId)
 
 getManufacturerId ($slug)
 
 getVendorName ($virtuemart_vendor_id)
 
 getVendorId ($slug)
 
 getFieldOfObjectWithLangFallBack ($table, $idname, $name, $wherename, $value)
 
 checkItemid ()
 
 lang ($key)
 
 getOrderingKey ($key)
 
 compareKey ($string, $key)
 

Static Public Member Functions

static getInstance (&$query=null)
 
static getLimitByCategory ($catId, $view= 'category')
 

Public Attributes

 $lang = null
 
 $query = array()
 
 $menu = null
 
 $activeMenu = null
 
 $menuVmitems = null
 
 $use_id = false
 
 $seo_translate = false
 
 $Itemid = ''
 
 $router_disabled = false
 
 $byMenu = 0
 
 $template = 0
 
 $CategoryName = array()
 
 $counter = 0
 

Static Public Attributes

static $limit = null
 

Private Member Functions

 __construct ($query)
 
 setMenuItemId ()
 
 setActiveMenu ()
 

Private Attributes

 $orderings = null
 
 $dbview = array('vendor' =>'vendor','category' =>'category','virtuemart' =>'virtuemart','productdetails' =>'product','cart' => 'cart','manufacturer' => 'manufacturer','user'=>'user')
 

Static Private Attributes

static $_instance = false
 
static $_catRoute = array ()
 

Constructor & Destructor Documentation

vmrouterHelper::__construct (   $query)
private

Member Function Documentation

vmrouterHelper::checkItemid ( )

TODO caching

Returns
bool
vmrouterHelper::compareKey (   $string,
  $key 
)
vmrouterHelper::getCategoryId (   $slug,
  $catId 
)

return id of categories $names are segments $virtuemart_category_ids is joomla menu virtuemart_category_id

vmrouterHelper::getCategoryNames (   $catId,
  $catMenuId = 0 
)
vmrouterHelper::getCategoryRoute (   $catId,
  $manId 
)
vmrouterHelper::getCategoryRouteNocache (   $catId,
  $manId 
)
vmrouterHelper::getFieldOfObjectWithLangFallBack (   $table,
  $idname,
  $name,
  $wherename,
  $value 
)
static vmrouterHelper::getInstance ( $query = null)
static
static vmrouterHelper::getLimitByCategory (   $catId,
  $view = 'category' 
)
static
vmrouterHelper::getManufacturerId (   $slug)
vmrouterHelper::getManufacturerName (   $manId)
vmrouterHelper::getOrderingKey (   $key)
vmrouterHelper::getParentProductcategory (   $id)
vmrouterHelper::getProductId (   $names,
  $catId = NULL,
  $seo_sufix = true 
)
vmrouterHelper::getProductName (   $id)
vmrouterHelper::getVendorId (   $slug)
vmrouterHelper::getVendorName (   $virtuemart_vendor_id)
vmrouterHelper::lang (   $key)
vmrouterHelper::setActiveMenu ( )
private
vmrouterHelper::setMenuItemId ( )
private

Member Data Documentation

vmrouterHelper::$_catRoute = array ()
staticprivate
vmrouterHelper::$_instance = false
staticprivate
vmrouterHelper::$activeMenu = null
vmrouterHelper::$byMenu = 0
vmrouterHelper::$CategoryName = array()
vmrouterHelper::$counter = 0
vmrouterHelper::$dbview = array('vendor' =>'vendor','category' =>'category','virtuemart' =>'virtuemart','productdetails' =>'product','cart' => 'cart','manufacturer' => 'manufacturer','user'=>'user')
private
vmrouterHelper::$Itemid = ''
vmrouterHelper::$lang = null
vmrouterHelper::$limit = null
static
vmrouterHelper::$menu = null
vmrouterHelper::$menuVmitems = null
vmrouterHelper::$orderings = null
private
vmrouterHelper::$query = array()
vmrouterHelper::$router_disabled = false
vmrouterHelper::$seo_translate = false
vmrouterHelper::$template = 0
vmrouterHelper::$use_id = false

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