Public Member Functions | Protected Member Functions | Protected Attributes

actions_main_ajax Class Reference

Inheritance diagram for actions_main_ajax:
Collaboration diagram for actions_main_ajax:

List of all members.

Public Member Functions

 removeArtFromAct ()
 addArtToAct ()
 setSorting ()

Protected Member Functions

 _getQuery ()
 _addFilter ($sQ)
 _getSorting ()

Protected Attributes

 $_blAllowExtColumns = true
 $_aColumns

Detailed Description

Class controls article assignment to action

Definition at line 6 of file actions_main_ajax.php.


Member Function Documentation

actions_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 98 of file actions_main_ajax.php.

actions_main_ajax._getQuery (  )  [protected]

Returns SQL query for data to fetc

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 47 of file actions_main_ajax.php.

actions_main_ajax._getSorting (  )  [protected]

Returns SQL query addon for sorting

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 121 of file actions_main_ajax.php.

actions_main_ajax.addArtToAct (  ) 

Adds article to Promotions list

Definition at line 152 of file actions_main_ajax.php.

actions_main_ajax.removeArtFromAct (  ) 

Removes article from Promotions list

Definition at line 135 of file actions_main_ajax.php.

actions_main_ajax.setSorting (  ) 

Sets sorting position for current action article

Definition at line 189 of file actions_main_ajax.php.


Member Data Documentation

actions_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('oxsort', 'oxactions2article', 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', 'oxactions2article', 0, 0, 1)
                                 )
    )

Reimplemented from ajaxListComponent.

Definition at line 21 of file actions_main_ajax.php.

actions_main_ajax.$_blAllowExtColumns = true [protected]

Reimplemented from ajaxListComponent.

Definition at line 14 of file actions_main_ajax.php.


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