Public Member Functions | Protected Member Functions | Protected Attributes

discount_articles_ajax Class Reference

Inheritance diagram for discount_articles_ajax:
Collaboration diagram for discount_articles_ajax:

List of all members.

Public Member Functions

 removeDiscArt ()
 addDiscArt ()

Protected Member Functions

 _getQuery ()

Protected Attributes

 $_blAllowExtColumns = true
 $_aColumns

Detailed Description

Class manages discount articles

Definition at line 6 of file discount_articles_ajax.php.


Member Function Documentation

discount_articles_ajax._getQuery (  )  [protected]

Returns SQL query for data to fetc

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 45 of file discount_articles_ajax.php.

discount_articles_ajax.addDiscArt (  ) 

Adds selected article (articles) to discount list

Returns:
null

Definition at line 116 of file discount_articles_ajax.php.

discount_articles_ajax.removeDiscArt (  ) 

Removes selected article (articles) from discount list

Returns:
null

Definition at line 95 of file discount_articles_ajax.php.


Member Data Documentation

discount_articles_ajax.$_aColumns [protected]
Initial value:
 array( 'container1' => array(    
                                        array( 'oxartnum', 'oxarticles', 1, 0, 0 ),
                                        array( 'oxtitle',  'oxarticles', 1, 1, 0 ),
                                        array( 'oxean',    'oxarticles', 1, 0, 0 ),
                                        array( 'oxmpn',    'oxarticles', 0, 0, 0 ),
                                        array( 'oxprice',  'oxarticles', 0, 0, 0 ),
                                        array( 'oxstock',  'oxarticles', 0, 0, 0 ),
                                        array( 'oxid',     'oxarticles', 0, 0, 1 )
                                        ),
                                    'container2' => array(
                                        array( 'oxartnum', 'oxarticles', 1, 0, 0 ),
                                        array( 'oxtitle',  'oxarticles', 1, 1, 0 ),
                                        array( 'oxean',    'oxarticles', 1, 0, 0 ),
                                        array( 'oxmpn',    'oxarticles', 0, 0, 0 ),
                                        array( 'oxprice',  'oxarticles', 0, 0, 0 ),
                                        array( 'oxstock',  'oxarticles', 0, 0, 0 ),
                                        array( 'oxid',     'oxobject2discount', 0, 0, 1 )
                                        )
                                )

Reimplemented from ajaxListComponent.

Definition at line 20 of file discount_articles_ajax.php.

discount_articles_ajax.$_blAllowExtColumns = true [protected]

Reimplemented from ajaxListComponent.

Definition at line 13 of file discount_articles_ajax.php.


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