Public Member Functions | Protected Member Functions | Protected Attributes

article_extend_ajax Class Reference

Inheritance diagram for article_extend_ajax:
Collaboration diagram for article_extend_ajax:

List of all members.

Public Member Functions

 removeCat ()
 addCat ()
 setAsDefault ()

Protected Member Functions

 _getQuery ()
 _getDataFields ($sQ)
 _updateOxTime ($soxId)

Protected Attributes

 $_aColumns

Detailed Description

Class controls article assignment to category

Definition at line 6 of file article_extend_ajax.php.


Member Function Documentation

article_extend_ajax._getDataFields ( sQ  )  [protected]

Returns array with DB records

Parameters:
string $sQ SQL query
Returns:
array

Reimplemented from ajaxListComponent.

Definition at line 63 of file article_extend_ajax.php.

article_extend_ajax._getQuery (  )  [protected]

Returns SQL query for data to fetc

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 34 of file article_extend_ajax.php.

article_extend_ajax._updateOxTime ( soxId  )  [protected]

Updates oxtime value for product

Parameters:
string $soxId product id
Returns:
null

Definition at line 195 of file article_extend_ajax.php.

article_extend_ajax.addCat (  ) 

Adds article to chosen category

Returns:
null

Definition at line 140 of file article_extend_ajax.php.

article_extend_ajax.removeCat (  ) 

Removes article from chosen category

Returns:
null

Definition at line 102 of file article_extend_ajax.php.

article_extend_ajax.setAsDefault (  ) 

Sets selected category as a default

Returns:
null

Definition at line 215 of file article_extend_ajax.php.


Member Data Documentation

article_extend_ajax.$_aColumns [protected]
Initial value:
 array( 'container1' => array(    
                                        array( 'oxtitle', 'oxcategories', 1, 1, 0 ),
                                        array( 'oxdesc',  'oxcategories', 1, 1, 0 ),
                                        array( 'oxid',    'oxcategories', 0, 0, 0 ),
                                        array( 'oxid',    'oxcategories', 0, 0, 1 )
                                        ),
                                    'container2' => array(
                                        array( 'oxtitle', 'oxcategories', 1, 1, 0 ),
                                        array( 'oxdesc',  'oxcategories', 1, 1, 0 ),
                                        array( 'oxid',    'oxcategories', 0, 0, 0 ),
                                        array( 'oxid',    'oxobject2category', 0, 0, 1 ),
                                        array( 'oxtime',  'oxobject2category', 0, 0, 1 ),
                                        array( 'oxid',    'oxcategories',      0, 0, 1 )
                                        ),
                                )

Reimplemented from ajaxListComponent.

Definition at line 13 of file article_extend_ajax.php.


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