Méthode | Description | |
---|---|---|
assignArticleTypes ( $articleTypes, |
Assign the article types to the theme. | |
assignOutputSetting ( |
Assign the output settings to the theme. | |
assignTheme ( |
Assign the theme to the publication. | |
exportTheme ( |
Export the theme. | |
findOutputSetting ( |
Provides the output setting for the provided theme and ouput. | |
getOutputSettings ( |
Provides the all output setting found for the theme. | |
getTemplates ( |
Provides the all template resources (.tpl) files found for the theme. | |
getThemes ( |
Provides the themes that are assigned to the publication. | |
getUnassignedThemes ( |
Provides the themes that are unassigned to any publication. | |
installTheme ( str $filePath ) : boolean | Updates the theme. | |
removeTheme ( |
Delete the theme and all coresponding connections. Please check the isUsedTheme method from IOutputSettingIssueService before removing the theme. | |
updateTheme ( |
Updates the theme. |
public assignArticleTypes ( $articleTypes, |
||
$theme | The theme to be assigned to, not null. |
public assignOutputSetting ( |
||
$outputSettings | The output settings to be assigned to the theme. | |
$theme | The theme to be assigned to, not null. |
public assignTheme ( |
||
$theme | The theme to be assigned, not null. | |
$publication | The publication to be assigned the theme for, not null. |
public exportTheme ( |
||
$theme | The theme or theme id to be exported, not null. | |
Résultat | the | file name containing the exported archive. |
public findOutputSetting ( |
||
$theme | The theme to retrieve the output setting for, not null. | |
$output | The output, not null. | |
Résultat | array | of Newscoop\Entity\OutputSettings The output setting, null if none found for the theme and output. |
public getOutputSettings ( |
||
$theme | The theme to retrieve the output setting for, not null. | |
Résultat | array | of Newscoop\Entity\OutputSettings The array containing all the OutputSettings assigned to the provided theme, not null migh be empty. |
public getTemplates ( |
||
$theme | The theme to retrieve the template resource for can be the Theme object or the theme path, not null. | |
Résultat | array | of Newscoop\Entity\Resource The array containing all the template resources assigned to the provided theme, not null migh be empty. |
public getThemes ( |
||
$publication | The publication to retrieve the themes for or the publication id, not null. | |
$search | The search criteria, not null. | |
$offset | integer | 0 | |
$limit | integer | The limit of entities to fetch, negaive value will fetch all entities found. |
Résultat | array | of Newscoop\Entity\Theme The array containing all the Themes assigned to the provided publication, not null migh be empty. |
public getUnassignedThemes ( |
||
$search | The search criteria, not null. | |
$offset | integer | 0 | |
$limit | integer | The limit of entities to fetch, negaive value will fetch all entities found. |
Résultat | array | of Newscoop\Entity\Theme The array containing all the unassigned Themes, not null migh be empty. |
public installTheme ( str $filePath ) : boolean | ||
$filePath | str | The file path to the zip containing the theme, not null. |
Résultat | boolean | True if the theme was succesfully added, false otherwise. |
public removeTheme ( |
||
$theme | The theme or theme id to be deleted, not null. | |
Résultat | boolean | TRUE if the theme was succesfully deleted, FLASE if the theme is in use and cannot be removed. |
public updateTheme ( |
||
$theme | The theme to be updated, not null. |