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

Author: mihaibalaceanu
Inheritance: extends AAdapter
Show file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$_service Newscoop\Service\Implementation\ThemeServiceLocalFileSystem The theme files service
$_theme Newscoop\Entity\Theme the theme entity

Public Methods

Method Description
__construct ( Newscoop\Service\IThemeService $service, $themeId )
getCount ( array $params = [], array $cols = [] )
getData ( array $params, array $cols )
search ( $query, array $cols = null )
sort ( array $cols )

Method Details

__construct() public method

public __construct ( Newscoop\Service\IThemeService $service, $themeId )
$service Newscoop\Service\IThemeService

getCount() public method

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

getData() public method

public getData ( array $params, array $cols )
$params array
$cols array

sort() public method

public sort ( array $cols )
$cols array

Property Details

$_service protected property

The theme files service
protected ThemeServiceLocalFileSystem,Newscoop\Service\Implementation $_service
return Newscoop\Service\Implementation\ThemeServiceLocalFileSystem

$_theme protected property

the theme entity
protected Newscoop\Entity\Theme $_theme
return Newscoop\Entity\Theme