PHP Class Newscoop\Controller\Action\Helper\Datatable\Adapter\Theme

Inheritance: extends AAdapter
Show file Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$_pubColFilterIdx integer Search column index used for filtering per publication
$_search Newscoop\Service\Model\SearchTheme The search object
$_service Newscoop\Service\Implementation\ThemeManagementServiceLocal Theme service

Public Methods

Method Description
__construct ( Newscoop\Service\IThemeManagementService $service )
getCount ( array $p_params = [], array $cols = [] )
getData ( array $p_params, array $p_cols )
getSearchObject ( ) : SearchTheme Get/set search object
search ( $query, array $cols = null )
setPublicationFilterColumn ( integer $column ) Define in what column number to look for the publication filter search
sort ( array $p_params ) handle sorting parameters

Method Details

__construct() public method

public __construct ( Newscoop\Service\IThemeManagementService $service )
$service Newscoop\Service\IThemeManagementService

getCount() public method

public getCount ( array $p_params = [], array $cols = [] )
$p_params array
$cols array

getData() public method

public getData ( array $p_params, array $p_cols )
$p_params array
$p_cols array

getSearchObject() public method

Get/set search object
public getSearchObject ( ) : SearchTheme
return Newscoop\Service\Model\SearchTheme

setPublicationFilterColumn() public method

Define in what column number to look for the publication filter search
public setPublicationFilterColumn ( integer $column )
$column integer

sort() public method

handle sorting parameters
public sort ( array $p_params )
$p_params array

Property Details

$_pubColFilterIdx protected property

Search column index used for filtering per publication
protected int $_pubColFilterIdx
return integer

$_service protected property

Theme service
protected ThemeManagementServiceLocal,Newscoop\Service\Implementation $_service
return Newscoop\Service\Implementation\ThemeManagementServiceLocal