ConfigParser/ConfigParserInterface.php
- author
- Vítor Brandão <noisebleed@noiselabs.org>
- category
- NoiseLabs
- copyright
- (C) 2011 Vítor Brandão <noisebleed@noiselabs.org>
- package
- ConfigParser
- version
- 0.1.1
- Interfaces
- ConfigParserInterface
Description
This file is part of NoiseLabs-PHP-ToolKit
NoiseLabs-PHP-ToolKit is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
NoiseLabs-PHP-ToolKit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with NoiseLabs-PHP-ToolKit; if not, see http://www.gnu.org/licenses/.
Copyright (C) 2011 Vítor Brandão noisebleed@noiselabs.org
NoiseLabs\ToolKit\ConfigParser\ConfigParserInterface
- Methods
- defaults
- sections
- addSection
- hasSection
- options
- hasOption
- read
- readFile
- readString
- readArray
- get
- getInt
- getFloat
- getBoolean
- set
- write
- save
- removeOption
- removeSection
- dump
Description
The Interface for the ConfigParser class.
Methods
addSection
addSection(
$section
)
:
Arguments
- $section
Details
- visibility
- public
- final
- false
- static
- false
defaults
defaults(
)
:
Details
- visibility
- public
- final
- false
- static
- false
dump
dump(
)
:
Details
- visibility
- public
- final
- false
- static
- false
get
get(
$section, $option
)
:
Arguments
- $section
- $option
Details
- visibility
- public
- final
- false
- static
- false
getBoolean
getBoolean(
$section, $option
)
:
Arguments
- $section
- $option
Details
- visibility
- public
- final
- false
- static
- false
getFloat
getFloat(
$section, $option
)
:
Arguments
- $section
- $option
Details
- visibility
- public
- final
- false
- static
- false
getInt
getInt(
$section, $option
)
:
Arguments
- $section
- $option
Details
- visibility
- public
- final
- false
- static
- false
hasOption
hasOption(
$section, $option
)
:
Arguments
- $section
- $option
Details
- visibility
- public
- final
- false
- static
- false
hasSection
hasSection(
$section
)
:
Arguments
- $section
Details
- visibility
- public
- final
- false
- static
- false
options
options(
$section
)
:
Arguments
- $section
Details
- visibility
- public
- final
- false
- static
- false
read
read(
$filenames
=
array
)
:
Arguments
- $filenames
Details
- visibility
- public
- final
- false
- static
- false
readArray
readArray(
$array
)
:
Arguments
- $array
Details
- visibility
- public
- final
- false
- static
- false
readFile
readFile(
$filehandler
)
:
Arguments
- $filehandler
Details
- visibility
- public
- final
- false
- static
- false
readString
readString(
$string
)
:
Arguments
- $string
Details
- visibility
- public
- final
- false
- static
- false
removeOption
removeOption(
$section, $option
)
:
Arguments
- $section
- $option
Details
- visibility
- public
- final
- false
- static
- false
removeSection
removeSection(
$section
)
:
Arguments
- $section
Details
- visibility
- public
- final
- false
- static
- false
save
save(
)
:
Details
- visibility
- public
- final
- false
- static
- false
sections
sections(
)
:
Details
- visibility
- public
- final
- false
- static
- false
set
set(
$section, $option, $value
)
:
Arguments
- $section
- $option
- $value
Details
- visibility
- public
- final
- false
- static
- false
write
write(
$filename
)
:
Arguments
- $filename
Details
- visibility
- public
- final
- false
- static
- false