Public Member Functions | Protected Member Functions | Protected Attributes

category_main_ajax Class Reference

Inheritance diagram for category_main_ajax:
Collaboration diagram for category_main_ajax:

List of all members.

Public Member Functions

 addArticle ()
 removeArticle ()

Protected Member Functions

 _getQuery ()
 _addFilter ($sQ)
 _updateOxTime ($sProdIds)

Protected Attributes

 $_blAllowExtColumns = true
 $_aColumns

Detailed Description

Class manages category articles

Definition at line 6 of file category_main_ajax.php.


Member Function Documentation

category_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 92 of file category_main_ajax.php.

category_main_ajax._getQuery (  )  [protected]

Returns SQL query for data to fetc

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 45 of file category_main_ajax.php.

category_main_ajax._updateOxTime ( sProdIds  )  [protected]

Updates oxtime value for products

Parameters:
string $sProdIds product ids: "id1", "id2", "id3"
Returns:
null

Definition at line 174 of file category_main_ajax.php.

category_main_ajax.addArticle (  ) 

Adds article to category Creates new list

Returns:
null

Definition at line 111 of file category_main_ajax.php.

category_main_ajax.removeArticle (  ) 

Removes article from category

Returns:
null

Definition at line 196 of file category_main_ajax.php.


Member Data Documentation

category_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',     'oxarticles', 0, 0, 1 )
                                        )
                                )

Reimplemented from ajaxListComponent.

Definition at line 20 of file category_main_ajax.php.

category_main_ajax.$_blAllowExtColumns = true [protected]

Reimplemented from ajaxListComponent.

Definition at line 13 of file category_main_ajax.php.


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