Public Member Functions | Protected Attributes

oxVoucherSerie Class Reference

Inheritance diagram for oxVoucherSerie:
Collaboration diagram for oxVoucherSerie:

List of all members.

Public Member Functions

 __construct ()
 delete ($sOxId=null)
 setUserGroups ()
 unsetUserGroups ()
 unsetDiscountRelations ()
 getVoucherList ()
 deleteVoucherList ()
 countVouchers ()

Protected Attributes

 $_oGroups = null
 $_sCoreTbl = 'oxvoucherseries'
 $_sClassName = 'oxvoucherserie'

Detailed Description

Voucher serie manager. Manages list of available Vouchers (fetches, deletes, etc.).

Definition at line 7 of file oxvoucherserie.php.


Constructor & Destructor Documentation

oxVoucherSerie.__construct (  ) 

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

Reimplemented from oxBase.

Definition at line 29 of file oxvoucherserie.php.


Member Function Documentation

oxVoucherSerie.countVouchers (  ) 

Returns array of vouchers counts.

Returns:
array

Definition at line 128 of file oxvoucherserie.php.

oxVoucherSerie.delete ( sOxId = null  ) 

Override delete function so we can delete user group and article or category relations first.

Parameters:
string $sOxId object ID (default null)
Returns:
null

Reimplemented from oxBase.

Definition at line 42 of file oxvoucherserie.php.

oxVoucherSerie.deleteVoucherList (  ) 

Deletes assigned voucher list.

Returns:
null

Definition at line 116 of file oxvoucherserie.php.

oxVoucherSerie.getVoucherList (  ) 

Returns array of a vouchers assigned to this serie.

Returns:
array

Definition at line 103 of file oxvoucherserie.php.

oxVoucherSerie.setUserGroups (  ) 

Collects and returns user group list.

Returns:
object

Definition at line 60 of file oxvoucherserie.php.

oxVoucherSerie.unsetDiscountRelations (  ) 

Removes product or dategory relations.

Returns:
null

Definition at line 91 of file oxvoucherserie.php.

oxVoucherSerie.unsetUserGroups (  ) 

Removes user groups relations.

Returns:
null

Definition at line 79 of file oxvoucherserie.php.


Member Data Documentation

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.


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