Public Member Functions | Protected Member Functions | Protected Attributes

attribute_main_ajax Class Reference

Inheritance diagram for attribute_main_ajax:
Collaboration diagram for attribute_main_ajax:

List of all members.

Public Member Functions

 removeAttrArticle ()
 addAttrArticle ()

Protected Member Functions

 _getQuery ()
 _addFilter ($sQ)

Protected Attributes

 $_blAllowExtColumns = true
 $_aColumns

Detailed Description

Class manages article attributes

Definition at line 6 of file attribute_main_ajax.php.


Member Function Documentation

attribute_main_ajax._addFilter ( sQ  )  [protected]

Adds filter SQL to current query

Parameters:
string $sQ query to add filter condition
Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 86 of file attribute_main_ajax.php.

attribute_main_ajax._getQuery (  )  [protected]

Returns SQL query for data to fetc

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 45 of file attribute_main_ajax.php.

attribute_main_ajax.addAttrArticle (  ) 

Adds article to Attribute list

Returns:
null

Definition at line 128 of file attribute_main_ajax.php.

attribute_main_ajax.removeAttrArticle (  ) 

Removes article from Attribute list

Returns:
null

Definition at line 107 of file attribute_main_ajax.php.


Member Data Documentation

attribute_main_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',     'oxobject2attribute', 0, 0, 1 )
                                        )
                                )

Reimplemented from ajaxListComponent.

Definition at line 20 of file attribute_main_ajax.php.

attribute_main_ajax.$_blAllowExtColumns = true [protected]

Reimplemented from ajaxListComponent.

Definition at line 13 of file attribute_main_ajax.php.


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