Parse PHP SDK API Reference

ParseConfig
in package

Class ParseConfig - For accessing Parse Config settings.

Tags
author

Fosco Marotto [email protected]

Table of Contents

$currentConfig  : array<string|int, mixed>
Current configuration data
__construct()  : mixed
ParseConfig constructor.
escape()  : string|null
Gets a config value with html characters encoded
get()  : mixed
Gets a config value
getConfig()  : array<string|int, mixed>
Gets the current config
save()  : bool
Saves the current config
set()  : mixed
Sets a config value
setConfig()  : mixed
Sets the config

Properties

$currentConfig

Current configuration data

private array<string|int, mixed> $currentConfig

Methods

__construct()

ParseConfig constructor.

public __construct() : mixed
Return values
mixed

escape()

Gets a config value with html characters encoded

public escape(string $key) : string|null
Parameters
$key : string

Key of value to get

Return values
string|null

get()

Gets a config value

public get(string $key) : mixed
Parameters
$key : string

Key of value to get

Return values
mixed

getConfig()

Gets the current config

public getConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>

save()

Saves the current config

public save() : bool
Return values
bool

set()

Sets a config value

public set(string $key, mixed $value) : mixed
Parameters
$key : string

Key to set value on

$value : mixed

Value to set

Return values
mixed

setConfig()

Sets the config

protected setConfig(array<string|int, mixed> $config) : mixed
Parameters
$config : array<string|int, mixed>

Config to set

Return values
mixed

Search results