oxVoucherSerie Class Reference

Inheritance diagram for oxVoucherSerie:

Inheritance graph
[legend]
Collaboration diagram for oxVoucherSerie:

Collaboration graph
[legend]

List of all members.


Detailed Description

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

Public Member Functions

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

Protected Attributes

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

Constructor & Destructor Documentation

oxVoucherSerie.__construct (  ) 

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

Reimplemented from oxBase.


Member Function Documentation

oxVoucherSerie.delete ( sOxId = null  ) 

Override delete function so we can delete user group relations first.

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

Reimplemented from oxBase.

oxVoucherSerie.setUserGroups (  ) 

Collects and returns user group list.

Returns:
object

oxVoucherSerie.unsetUserGroups (  ) 

Removes user groups relations.

Returns:
null

oxVoucherSerie.getVoucherList (  ) 

Returns array of a vouchers assigned to this serie.

Returns:
array

oxVoucherSerie.deleteVoucherList (  ) 

Deletes assigned voucher list.

Returns:
null

oxVoucherSerie.countVouchers (  ) 

Returns array of vouchers counts.

Returns:
array


Member Data Documentation

oxVoucherSerie.$_oGroups = null [protected]

oxVoucherSerie.$_sCoreTbl = 'oxvoucherseries' [protected]

oxVoucherSerie.$_sClassName = 'oxvoucherserie' [protected]

Reimplemented from oxBase.


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

Generated on Wed Oct 29 23:46:54 2008 for OXID eShop CE by  doxygen 1.5.5