mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-12-18 17:10:29 +03:00
[BridgeAbstract] Add 'getMaintainer' function
parent
57f0039825
commit
c7d9489ae5
1 changed files with 13 additions and 0 deletions
|
@ -4,6 +4,7 @@ To create a new Bridge extending `BridgeAbstract` you must specify some [basic m
|
||||||
|
|
||||||
- [`collectData`](#the-collectdata-function) (**required**)
|
- [`collectData`](#the-collectdata-function) (**required**)
|
||||||
- [`getDescription`](#the-getdescription-function)
|
- [`getDescription`](#the-getdescription-function)
|
||||||
|
- [`getMaintainer`](#the-getmaintainer-function)
|
||||||
- [`getName`](#the-getname-function)
|
- [`getName`](#the-getname-function)
|
||||||
- [`getURI`](#the-geturi-function)
|
- [`getURI`](#the-geturi-function)
|
||||||
|
|
||||||
|
@ -182,6 +183,18 @@ This function returns the description of a bridge.
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## The `getMaintainer` function
|
||||||
|
|
||||||
|
This function returns the maintainer name of a bridge.
|
||||||
|
|
||||||
|
**Notice:** **RSS-Bridge** will by default return `const MAINTAINER` which is defined in the bridge, so you only have to implement this function if you require different behavior!
|
||||||
|
|
||||||
|
```PHP
|
||||||
|
public function getMaintainer(){
|
||||||
|
return self::MAINTAINER;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## The `getName` function
|
## The `getName` function
|
||||||
|
|
||||||
This function returns the name of a bridge..
|
This function returns the name of a bridge..
|
||||||
|
|
Loading…
Reference in a new issue