mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 15:30:01 +02:00
Updated const PARAMETERS (markdown)
parent
9f6af301f6
commit
dc83991cf5
1 changed files with 4 additions and 2 deletions
|
@ -32,6 +32,8 @@ A context is defined as a associative array of parameters. The name of a context
|
||||||
|
|
||||||
<details><summary>Show example</summary><div>
|
<details><summary>Show example</summary><div>
|
||||||
|
|
||||||
|
**Warning**: This example won't work in real applications because both categories have the same set of parameters (`array()`)
|
||||||
|
|
||||||
```PHP
|
```PHP
|
||||||
const PARAMETERS = array(
|
const PARAMETERS = array(
|
||||||
'My Context 1' => array(),
|
'My Context 1' => array(),
|
||||||
|
@ -45,9 +47,9 @@ const PARAMETERS = array(
|
||||||
|
|
||||||
</div></details><br>
|
</div></details><br>
|
||||||
|
|
||||||
**Warning**: Multiple contexts with the same parameters are not allowed!
|
**Warning**: Multiple contexts with the same set of parameters are not allowed!
|
||||||
|
|
||||||
**Notice**: The name of a context can be left empty if only one context is needed!
|
_Notice_: The name of a context can be left empty if only one context is needed!
|
||||||
|
|
||||||
<details><summary>Show example</summary><div>
|
<details><summary>Show example</summary><div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue