Public Member Functions | Protected Member Functions | Protected Attributes

news_main_ajax Class Reference

Inheritance diagram for news_main_ajax:
Collaboration diagram for news_main_ajax:

List of all members.

Public Member Functions

 removeGroupFromNews ()
 addGroupToNews ()

Protected Member Functions

 _getQuery ()

Protected Attributes

 $_aColumns

Detailed Description

Class manages news user groups rights

Definition at line 6 of file news_main_ajax.php.


Member Function Documentation

news_main_ajax._getQuery (  )  [protected]

Returns SQL query for data to fetc

Returns:
string

Reimplemented from ajaxListComponent.

Definition at line 31 of file news_main_ajax.php.

news_main_ajax.addGroupToNews (  ) 

Adds user group for viewing some news.

Definition at line 75 of file news_main_ajax.php.

news_main_ajax.removeGroupFromNews (  ) 

Removes some user group from viewing some news.

Definition at line 58 of file news_main_ajax.php.


Member Data Documentation

news_main_ajax.$_aColumns [protected]
Initial value:
 array('container1' => array( 
        array('oxtitle', 'oxgroups', 1, 0, 0),
        array('oxid', 'oxgroups', 0, 0, 0),
        array('oxid', 'oxgroups', 0, 0, 1),
    ),
                                 'container2' => array(
                                     array('oxtitle', 'oxgroups', 1, 0, 0),
                                     array('oxid', 'oxgroups', 0, 0, 0),
                                     array('oxid', 'oxobject2group', 0, 0, 1),
                                 )
    )

Reimplemented from ajaxListComponent.

Definition at line 14 of file news_main_ajax.php.


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