Inheritance diagram for category_main_ajax:
Collaboration diagram for category_main_ajax:Public Member Functions | |
| addArticle () | |
| removeArticle () | |
Protected Member Functions | |
| _getQuery () | |
| _addFilter ($sQ) | |
| _updateOxTime ($sProdIds) | |
Protected Attributes | |
| $_blAllowExtColumns = true | |
| $_aColumns | |
Class manages category articles
Definition at line 6 of file category_main_ajax.php.
| category_main_ajax._addFilter | ( | $ | sQ | ) | [protected] |
Adds filter SQL to current query
| string | $sQ query to add filter condition |
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
Reimplemented from ajaxListComponent.
Definition at line 45 of file category_main_ajax.php.
| category_main_ajax._updateOxTime | ( | $ | sProdIds | ) | [protected] |
Updates oxtime value for products
| string | $sProdIds product ids: "id1", "id2", "id3" |
Definition at line 172 of file category_main_ajax.php.
| category_main_ajax.addArticle | ( | ) |
Adds article to category Creates new list
Definition at line 111 of file category_main_ajax.php.
| category_main_ajax.removeArticle | ( | ) |
category_main_ajax.$_aColumns [protected] |
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.
1.7.1