AloWAMP source documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • None
  • PHP
  • Setup
  • VersionSwitch

Classes

  • cURL
  • Downloader
  • Format
  • Handler
  • IO
  • Router
  • Service
  • Settings
  • Setup

Functions

  • _echo
  • get

Class Settings

settings.ini handler

Author: Art <a.molcanovas@gmail.com>
Located at core/class/settings.php

Methods summary

public
# __construct( )

Instantiates the class

Instantiates the class

Author

Art <a.molcanovas@gmail.com>
public
# load( )

Loads the settings

Loads the settings

Author

Art <a.molcanovas@gmail.com>
public
# __destruct( )

Closing operations

Closing operations

Author

Art <a.molcanovas@gmail.com>
public
# save( )

Saves the settings array

Saves the settings array

Author

Art <a.molcanovas@gmail.com>
public mixed
# __get( string $v )

Gets a config item

Gets a config item

Parameters

$v
string
$v Ttem key

Returns

mixed
public
# __set( string $k, string $v )

Sets a config item

Sets a config item

Parameters

$k
string
$k Item key
$v
string
$v Item value

Author

Art <a.molcanovas@gmail.com>
public array
# get( )

Gets all the settings

Gets all the settings

Returns

array

Author

Art <a.molcanovas@gmail.com>

Magic methods summary

Properties summary

public static Settings $s
#

Static reference to $this

Static reference to $this

protected array $settings
#

Settings array

Settings array

protected boolean $change_was_made
#

Whether a change was made and an autosave should be performed on destruct

Whether a change was made and an autosave should be performed on destruct

AloWAMP source documentation API documentation generated by ApiGen 2.8.0