Public Member Functions | Protected Member Functions | Protected Attributes

category_order_ajax Class Reference

Inheritance diagram for category_order_ajax:
Collaboration diagram for category_order_ajax:

List of all members.

Public Member Functions

 removeCatOrderArticle ()
 addCatOrderArticle ()
 saveNewOrder ()
 remNewOrder ()

Protected Member Functions

 _getQuery ()
 _getSorting ()

Protected Attributes

 $_aColumns

Detailed Description

Class manages category articles order

Definition at line 6 of file category_order_ajax.php.


Member Function Documentation

category_order_ajax._getQuery (  )  [protected]

Returns SQL query for data to fetc

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 40 of file category_order_ajax.php.

category_order_ajax._getSorting (  )  [protected]

Returns SQL query addon for sorting

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 71 of file category_order_ajax.php.

category_order_ajax.addCatOrderArticle (  ) 

Adds article to list for sorting in category

Definition at line 123 of file category_order_ajax.php.

category_order_ajax.remNewOrder (  ) 

Removes category articles ordering set by saveneworder() method.

Returns:
null

Definition at line 198 of file category_order_ajax.php.

category_order_ajax.removeCatOrderArticle (  ) 

Removes article from list for sorting in category

Definition at line 93 of file category_order_ajax.php.

category_order_ajax.saveNewOrder (  ) 

Saves category articles ordering.

Returns:
null

Definition at line 162 of file category_order_ajax.php.


Member Data Documentation

category_order_ajax.$_aColumns [protected]
Initial value:
 array('container1' => array( 
        array('oxartnum', 'oxarticles', 1, 0, 0),
        array('oxtitle', 'oxarticles', 1, 1, 0),
        array('oxpos', 'oxobject2category', 1, 0, 0),
        array('oxean', 'oxarticles', 0, 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', 0, 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 14 of file category_order_ajax.php.


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