Newscoop\Service\IThemeManagementService::getThemes PHP Method

getThemes() public method

Provides the themes that are assigned to the publication.
public getThemes ( Publication | integer $publication, SearchTheme $search = NULL, integer | 0 $offset, integer $limit ) : array
$publication Newscoop\Entity\Publication | integer The publication to retrieve the themes for or the publication id, not null.
$search Newscoop\Service\Model\SearchTheme The search criteria, not null.
$offset integer | 0
$limit integer The limit of entities to fetch, negaive value will fetch all entities found.
return array of Newscoop\Entity\Theme The array containing all the Themes assigned to the provided publication, not null migh be empty.
    function getThemes($publication, SearchTheme $search = NULL, $offset = 0, $limit = -1);