OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Model\Object2Group Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Model\Object2Group:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Model\Object2Group:

Public Member Functions

 __construct ()
 
 save ()
 

Protected Attributes

 $_blDisableShopCheck = true
 
 $_sClassName = 'oxobject2group'
 

Detailed Description

Manages object (users, discounts, deliveries...) assignment to groups.

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Application\Model\Object2Group::__construct ( )

Class constructor, initiates parent constructor (parent::oxBase()).

Member Function Documentation

◆ save()

OxidEsales\EshopCommunity\Application\Model\Object2Group::save ( )

Extends the default save method to prevent from exception if same relationship already exist. The table oxobject2group has an UNIQUE index on (OXGROUPSID, OXOBJECTID, OXSHOPID) which ensures that a relationship would not be duplicated.

Exceptions
DatabaseErrorException
Returns
bool

Member Data Documentation

◆ $_blDisableShopCheck

OxidEsales\EshopCommunity\Application\Model\Object2Group::$_blDisableShopCheck = true
protected

◆ $_sClassName

OxidEsales\EshopCommunity\Application\Model\Object2Group::$_sClassName = 'oxobject2group'
protected

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