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 67 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 35 of file article_extend_ajax.php.

article_extend_ajax._updateOxTime ( soxId  )  [protected]

Updates oxtime value for product

Parameters:
string $soxId product id

Definition at line 190 of file article_extend_ajax.php.

article_extend_ajax.addCat (  ) 

Adds article to chosen category

Definition at line 139 of file article_extend_ajax.php.

article_extend_ajax.removeCat (  ) 

Removes article from chosen category

Definition at line 104 of file article_extend_ajax.php.

article_extend_ajax.setAsDefault (  ) 

Sets selected category as a default

Definition at line 209 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 14 of file article_extend_ajax.php.


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