Overview

Namespaces

  • None
  • Peg
    • Cli
      • Commands
    • Config
    • Custom
      • Command
        • Action
          • Generate
          • Parse
      • CommandLine
      • Config
      • Localization
      • Utilities
    • Lib
      • Definitions
        • Element
      • Generator
      • Lexers
      • Plugins
      • Signals
        • Data
          • Definitions
          • Lexers
        • Type
  • PHP

Classes

  • Base
  • INI
  • JSON
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class INI

Ini implementation to manage configuration files.

Peg\Custom\Config\Base
Extended by Peg\Custom\Config\INI
Namespace: Peg\Custom\Config
Located at src/Config/INI.php
Methods summary
public
# Load( string $directory, string $configuration_file )

Loads all configuration options of a given file and creates it if does not exists.

Loads all configuration options of a given file and creates it if does not exists.

Parameters

$directory
string
$directory
$configuration_file
string
$configuration_file
public
# Write( )

Writes a configuration file using the settings array.

Writes a configuration file using the settings array.

Methods inherited from Peg\Custom\Config\Base
Get(), GetAll(), GetGroupValue(), Set(), SetGroupValue()
Properties inherited from Peg\Custom\Config\Base
$directory, $file, $preferences
PEG Api API documentation generated by ApiGen 2.8.0