mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 16:45:02 +02:00
Icons: Allow Bridge-specified icons (#788)
This commit is contained in:
parent
c4cccfe0f3
commit
704a87ad97
8 changed files with 32 additions and 4 deletions
|
@ -51,12 +51,12 @@ abstract class FormatAbstract implements FormatInterface {
|
|||
}
|
||||
|
||||
/**
|
||||
* Define common informations can be required by formats and set default value for unknow values
|
||||
* Define common informations can be required by formats and set default value for unknown values
|
||||
* @param array $extraInfos array with know informations (there isn't merge !!!)
|
||||
* @return this
|
||||
*/
|
||||
public function setExtraInfos(array $extraInfos = array()){
|
||||
foreach(array('name', 'uri') as $infoName) {
|
||||
foreach(array('name', 'uri', 'icon') as $infoName) {
|
||||
if(!isset($extraInfos[$infoName])) {
|
||||
$extraInfos[$infoName] = '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue