Overview

Namespaces

  • Liberty
  • None

Classes

  • BigInteger
  • Block
  • Blockchain
  • Collection
  • CollectionFileList
  • File
  • Folder
  • INI
  • LECDSA
  • Onecrypt
  • SSV
  • Text
  • Transaction
  • Wallet
  • WebPeer
  • Overview
  • Namespace
  • Class

Class INI

INI Class, A static class to manage INI files.

Read file : $ini = INI::read('myfile.ini');
Write file : INI::write('myfile.ini', $ini);

Features:

  • support [] syntax for arrays
  • support . in keys like bar.foo.something = value
  • true and false string are automatically converted in booleans
  • integers strings are automatically converted in integers
  • keys are sorted when writing
  • constants are replaced but they should be written in the ini file between braces : {MYCONSTANT}
Namespace: Liberty
Package: Liberty
Category: Cryptocurrency
License: Public Domain.
Author: arnapou
Version: 1.0.0
Since: 2007-10-03
Located at Liberty/INI.php
Methods summary
public static
# read( $filename )

Read a INI configuration file.

Read a INI configuration file.

public static
# write( $filename, $ini )

Write a INI configuration file.

Write a INI configuration file.

API documentation generated by ApiGen