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

Static Public Member Functions

static getBgManagerId ()
 
static getBgManager ($uid=0)
 
static isSuperVendor ($uid=0)
 
static manager ($task=0, $uid=0, $and=false)
 
static getVendorId ($task=0, $uid=0, $name= 'virtuemart_vendor_id')
 

Static Protected Attributes

static $_virtuemart_vendor_id = array()
 
static $_manager = array()
 
static $_cu = array()
 
static $_cuId = null
 
static $_site = null
 

Member Function Documentation

static vmAccess::getBgManager (   $uid = 0)
static
static vmAccess::getBgManagerId ( )
static
static vmAccess::getVendorId (   $task = 0,
  $uid = 0,
  $name = 'virtuemart_vendor_id' 
)
static
static vmAccess::isSuperVendor (   $uid = 0)
static

Checks if user is admin or has vendorId=1, if superadmin, but not a vendor it gives back vendorId=1 (single vendor, but multiuser administrated)

Author
Mattheo Vicini
Max Milbers
static vmAccess::manager (   $task = 0,
  $uid = 0,
  $and = false 
)
static

Member Data Documentation

vmAccess::$_cu = array()
staticprotected
vmAccess::$_cuId = null
staticprotected
vmAccess::$_manager = array()
staticprotected
vmAccess::$_site = null
staticprotected
vmAccess::$_virtuemart_vendor_id = array()
staticprotected

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