Documentation

SettingsWriter
in package

Write Settings back into a File

Table of Contents

$end  : mixed
$handle  : mixed
$indent  : mixed
$settings  : mixed
$start  : mixed
__construct()  : mixed
Constructs a new SettingsWriter Object The standard directory/naming is used from the settings Object If the settings file already esxists it is overwritten and all data in there is lost!!
write()  : mixed
Writes the settings Object into a settings file If the file already exists it is overwritten!

Properties

Methods

__construct()

Constructs a new SettingsWriter Object The standard directory/naming is used from the settings Object If the settings file already esxists it is overwritten and all data in there is lost!!

public __construct(Settings $settings[, string $name = '' ]) : mixed
Parameters
$settings : Settings

an object of type settings

$name : string = ''

The name midfix for the settings File

Return values
mixed

write()

Writes the settings Object into a settings file If the file already exists it is overwritten!

public write([Settings|array<string|int, mixed> $settings = null ]) : mixed
Parameters
$settings : Settings|array<string|int, mixed> = null

an object of type settings

Return values
mixed

Search results