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
 $_sClassName = 'oxvoucherserie'

Detailed Description

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

Definition at line 8 of file oxvoucherserie.php.


Constructor & Destructor Documentation

oxVoucherSerie.__construct (  ) 

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

Reimplemented from oxBase.

Definition at line 25 of file oxvoucherserie.php.


Member Function Documentation

oxVoucherSerie.countVouchers (  ) 

Returns array of vouchers counts.

Returns:
array

Definition at line 124 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 38 of file oxvoucherserie.php.

oxVoucherSerie.deleteVoucherList (  ) 

Deletes assigned voucher list.

Returns:
null

Definition at line 112 of file oxvoucherserie.php.

oxVoucherSerie.getVoucherList (  ) 

Returns array of a vouchers assigned to this serie.

Returns:
array

Definition at line 99 of file oxvoucherserie.php.

oxVoucherSerie.setUserGroups (  ) 

Collects and returns user group list.

Returns:
object

Definition at line 56 of file oxvoucherserie.php.

oxVoucherSerie.unsetDiscountRelations (  ) 

Removes product or dategory relations.

Returns:
null

Definition at line 87 of file oxvoucherserie.php.

oxVoucherSerie.unsetUserGroups (  ) 

Removes user groups relations.

Returns:
null

Definition at line 75 of file oxvoucherserie.php.


Member Data Documentation

oxVoucherSerie.$_oGroups = null [protected]

Definition at line 15 of file oxvoucherserie.php.

oxVoucherSerie.$_sClassName = 'oxvoucherserie' [protected]

Reimplemented from oxBase.

Definition at line 20 of file oxvoucherserie.php.


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