Public Member Functions | Protected Member Functions | Protected Attributes

discount_categories_ajax Class Reference

Inheritance diagram for discount_categories_ajax:
Collaboration diagram for discount_categories_ajax:

List of all members.

Public Member Functions

 removeDiscCat ()
 addDiscCat ()

Protected Member Functions

 _getQuery ()

Protected Attributes

 $_aColumns

Detailed Description

Class manages discount categories

Definition at line 6 of file discount_categories_ajax.php.


Member Function Documentation

discount_categories_ajax._getQuery (  )  [protected]

Returns SQL query for data to fetc

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 33 of file discount_categories_ajax.php.

discount_categories_ajax.addDiscCat (  ) 

Adds selected category (categories) to discount list

Returns:
null

Definition at line 91 of file discount_categories_ajax.php.

discount_categories_ajax.removeDiscCat (  ) 

Removes selected category (categories) from discount list

Returns:
null

Definition at line 69 of file discount_categories_ajax.php.


Member Data Documentation

discount_categories_ajax.$_aColumns [protected]
Initial value:
 array( 'container1' => array(    
                                        array( 'oxtitle', 'oxcategories', 1, 1, 0 ),
                                        array( 'oxdesc',  'oxcategories', 1, 1, 0 ),
                                        array( 'oxid',    'oxcategories', 0, 0, 0 ),
                                        array( 'oxid',    'oxcategories', 0, 0, 1 )
                                        ),
                                    'container2' => array(
                                        array( 'oxtitle', 'oxcategories', 1, 1, 0 ),
                                        array( 'oxdesc',  'oxcategories', 1, 1, 0 ),
                                        array( 'oxid',    'oxcategories', 0, 0, 0 ),
                                        array( 'oxid',    'oxobject2discount', 0, 0, 1 ),
                                        array( 'oxid',    'oxcategories',      0, 0, 1 )
                                        ),
                                )

Reimplemented from ajaxListComponent.

Definition at line 13 of file discount_categories_ajax.php.


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