> For the complete documentation index, see [llms.txt](https://playground.e107sk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://playground.e107sk.com/e107-efiction-integration-update/outdated/authors-class/efiction_settings.md).

# efiction\_settings

## e\_module.php

```
e107::getSingleton('efiction_settings', e_PLUGIN.'efiction/classes/settings.class.php');
```

## get\_settings()

```
$settings = efiction_settings::get_settings();
```

| Used in      | Description  | From version |
| ------------ | ------------ | ------------ |
| `header.php` | get settings | ✅1.0.3       |

## get\_single\_setting($setting\_name)

```
$itemsperpage =  efiction_settings::get_single_setting('itemsperpage');
```

{% hint style="info" %}
Until all global variables are not replaced, this has to be in header.php

`foreach($settings as $var => $val) { $$var = stripslashes($val); }`
{% endhint %}
