Public Member Functions | Protected Member Functions | Protected Attributes

discount_users_ajax Class Reference

Inheritance diagram for discount_users_ajax:
Collaboration diagram for discount_users_ajax:

List of all members.

Public Member Functions

 removeDiscUser ()
 addDiscUser ()

Protected Member Functions

 _getQuery ()

Protected Attributes

 $_aColumns

Detailed Description

Class manages discount users

Definition at line 6 of file discount_users_ajax.php.


Member Function Documentation

discount_users_ajax._getQuery (  )  [protected]

Returns SQL query for data to fetc

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 45 of file discount_users_ajax.php.

discount_users_ajax.addDiscUser (  ) 

Adds user to discount config

Definition at line 104 of file discount_users_ajax.php.

discount_users_ajax.removeDiscUser (  ) 

Removes user from discount config

Definition at line 85 of file discount_users_ajax.php.


Member Data Documentation

discount_users_ajax.$_aColumns [protected]
Initial value:
 array('container1' => array( 
        array('oxusername', 'oxuser', 1, 0, 0),
        array('oxlname', 'oxuser', 0, 0, 0),
        array('oxfname', 'oxuser', 0, 0, 0),
        array('oxstreet', 'oxuser', 0, 0, 0),
        array('oxstreetnr', 'oxuser', 0, 0, 0),
        array('oxcity', 'oxuser', 0, 0, 0),
        array('oxzip', 'oxuser', 0, 0, 0),
        array('oxfon', 'oxuser', 0, 0, 0),
        array('oxbirthdate', 'oxuser', 0, 0, 0),
        array('oxid', 'oxuser', 0, 0, 1),
    ),
                                 'container2' => array(
                                     array('oxusername', 'oxuser', 1, 0, 0),
                                     array('oxlname', 'oxuser', 0, 0, 0),
                                     array('oxfname', 'oxuser', 0, 0, 0),
                                     array('oxstreet', 'oxuser', 0, 0, 0),
                                     array('oxstreetnr', 'oxuser', 0, 0, 0),
                                     array('oxcity', 'oxuser', 0, 0, 0),
                                     array('oxzip', 'oxuser', 0, 0, 0),
                                     array('oxfon', 'oxuser', 0, 0, 0),
                                     array('oxbirthdate', 'oxuser', 0, 0, 0),
                                     array('oxid', 'oxobject2discount', 0, 0, 1),
                                 )
    )

Reimplemented from ajaxListComponent.

Definition at line 14 of file discount_users_ajax.php.


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