OXID eShop CE
6.1.5
|
Public Member Functions | |
__construct () | |
save () | |
Protected Attributes | |
$_blDisableShopCheck = true | |
$_sClassName = 'oxobject2group' | |
Manages object (users, discounts, deliveries...) assignment to groups.
OxidEsales\EshopCommunity\Application\Model\Object2Group::__construct | ( | ) |
Class constructor, initiates parent constructor (parent::oxBase()).
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.
DatabaseErrorException |
|
protected |
|
protected |