Public Member Functions | |
__construct () | |
delete ($sOxId=null) | |
setUserGroups () | |
unsetUserGroups () | |
unsetDiscountRelations () | |
getVoucherList () | |
deleteVoucherList () | |
countVouchers () | |
Protected Attributes | |
$_oGroups = null | |
$_sCoreTbl = 'oxvoucherseries' | |
$_sClassName = 'oxvoucherserie' |
Voucher serie manager. Manages list of available Vouchers (fetches, deletes, etc.).
Definition at line 7 of file oxvoucherserie.php.
oxVoucherSerie.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxBase()).
Reimplemented from oxBase.
Definition at line 29 of file oxvoucherserie.php.
oxVoucherSerie.countVouchers | ( | ) |
oxVoucherSerie.delete | ( | $ | sOxId = null |
) |
Override delete function so we can delete user group and article or category relations first.
string | $sOxId object ID (default null) |
Reimplemented from oxBase.
Definition at line 42 of file oxvoucherserie.php.
oxVoucherSerie.deleteVoucherList | ( | ) |
oxVoucherSerie.getVoucherList | ( | ) |
Returns array of a vouchers assigned to this serie.
Definition at line 100 of file oxvoucherserie.php.
oxVoucherSerie.setUserGroups | ( | ) |
Collects and returns user group list.
Definition at line 60 of file oxvoucherserie.php.
oxVoucherSerie.unsetDiscountRelations | ( | ) |
Removes product or dategory relations.
Definition at line 89 of file oxvoucherserie.php.
oxVoucherSerie.unsetUserGroups | ( | ) |
oxVoucherSerie.$_oGroups = null [protected] |
Definition at line 14 of file oxvoucherserie.php.
oxVoucherSerie.$_sClassName = 'oxvoucherserie' [protected] |
Reimplemented from oxBase.
Definition at line 24 of file oxvoucherserie.php.
oxVoucherSerie.$_sCoreTbl = 'oxvoucherseries' [protected] |
Definition at line 19 of file oxvoucherserie.php.