Config
[ class tree: Config ] [ index: Config ] [ all elements ]

Element index for package Config

[ a ] [ b ] [ c ] [ d ] [ g ] [ h ] [ i ] [ m ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ] [ w ] [ x ]

a

$attributes
in file Container.php, variable Config_Container::$attributes
    Array of attributes for this item
addItem
in file Container.php, method Config_Container::addItem()
    Adds an item to this item.
Apache.php
procedural page Apache.php
Apache.php
procedural page Apache.php
top

b

bug3590-input.php
procedural page bug3590-input.php
bug16724-config.php
procedural page bug16724-config.php
top

c

$children
in file Container.php, variable Config_Container::$children
    Container object children
$configType
in file Config.php, variable Config::$configType
    Type of datasource for config Ex: IniCommented, Apache...
$container
in file Config.php, variable Config::$container
    Container object
$containers
in file XML.php, variable Config_Container_XML::$containers
    Container objects
$content
in file Container.php, variable Config_Container::$content
    Container object content
cdataHandler
in file XML.php, method Config_Container_XML::cdataHandler()
Config
in file Config.php, class Config
    Config
Config
in file Config.php, method Config::Config()
    Constructor Creates a root container
Container.php
procedural page Container.php
Config.php
procedural page Config.php
Config_Container
in file Container.php, method Config_Container::Config_Container()
    Constructor
Config_Container
in file Container.php, class Config_Container
    Interface for Config containers
Config_Container_Apache
in file Apache.php, class Config_Container_Apache
    Simple config parser for apache httpd.conf files A more complex version could handle directives as associative arrays.
Config_Container_Apache
in file Apache.php, method Config_Container_Apache::Config_Container_Apache()
    Constructor
Config_Container_GenericConf
in file GenericConf.php, method Config_Container_GenericConf::Config_Container_GenericConf()
    Constructor
Config_Container_GenericConf
in file GenericConf.php, class Config_Container_GenericConf
    Config parser for generic .conf files like htdig.conf...
Config_Container_IniCommented
in file IniCommented.php, method Config_Container_IniCommented::Config_Container_IniCommented()
    Constructor
Config_Container_IniCommented
in file IniCommented.php, class Config_Container_IniCommented
    Config parser for PHP .ini files with comments
Config_Container_IniFile
in file IniFile.php, class Config_Container_IniFile
    Config parser for PHP .ini files Faster because it uses parse_ini_file() but get rid of comments, quotes, types and converts On, Off, True, False, Yes, No to 0 and 1.
Config_Container_IniFile
in file IniFile.php, method Config_Container_IniFile::Config_Container_IniFile()
    Constructor
Config_Container_PHPArray
in file PHPArray.php, method Config_Container_PHPArray::Config_Container_PHPArray()
    Constructor
Config_Container_PHPArray
in file PHPArray.php, class Config_Container_PHPArray
    Config parser for common PHP configuration array such as found in the horde project.
Config_Container_PHPConstants
in file PHPConstants.php, method Config_Container_PHPConstants::Config_Container_PHPConstants()
    Constructor
Config_Container_PHPConstants
in file PHPConstants.php, class Config_Container_PHPConstants
    Config parser for PHP constant files
Config_Container_XML
in file XML.php, method Config_Container_XML::Config_Container_XML()
    Constructor
Config_Container_XML
in file XML.php, class Config_Container_XML
    Config parser for XML Files
contentToString
in file IniFile.php, method Config_Container_IniFile::contentToString()
    Converts a given content variable to a string that can be used as value in a ini file
countChildren
in file Container.php, method Config_Container::countChildren()
    Returns how many children this container has
createBlank
in file Container.php, method Config_Container::createBlank()
    Adds a blank line to this item.
createComment
in file Container.php, method Config_Container::createComment()
    Adds a comment to this item.
createDirective
in file Container.php, method Config_Container::createDirective()
    Adds a directive to this item.
createItem
in file Container.php, method Config_Container::createItem()
    Create a child for this item.
createSection
in file Container.php, method Config_Container::createSection()
    Adds a section to this item.
top

d

$datasrc
in file Config.php, variable Config::$datasrc
    Datasource Can be a file url, a dsn, an object...
directiveContent
in file Container.php, method Config_Container::directiveContent()
    Return a child directive's content.
top

g

GenericConf.php
procedural page GenericConf.php
getAttribute
in file Container.php, method Config_Container::getAttribute()
    Get one attribute value of this item
getAttributes
in file Container.php, method Config_Container::getAttributes()
    Get this item's attributes.
getChild
in file Container.php, method Config_Container::getChild()
    Returns the item parent object.
getContent
in file Container.php, method Config_Container::getContent()
    Get this item's content.
getItem
in file Container.php, method Config_Container::getItem()
    Tries to find the specified item(s) and returns the objects.
getItemIndex
in file Container.php, method Config_Container::getItemIndex()
    Returns the item index in its parent children array.
getItemPosition
in file Container.php, method Config_Container::getItemPosition()
    Returns the item rank in its parent children array according to other items with same type and name.
getName
in file Container.php, method Config_Container::getName()
    Get this item's name.
getParent
in file Container.php, method Config_Container::getParent()
    Returns the item parent object.
getRoot
in file Config.php, method Config::getRoot()
    Returns the root container for this config object
getType
in file Container.php, method Config_Container::getType()
    Get this item's type.
top

h

HOST12_3
in file bug16724-config.php, constant HOST12_3
top

i

IniCommented.php
procedural page IniCommented.php
IniFile.php
procedural page IniFile.php
IniCommented.php
procedural page IniCommented.php
IniFromScratch.php
procedural page IniFromScratch.php
isConfigTypeRegistered
in file Config.php, method Config::isConfigTypeRegistered()
    Returns true if container is registered
isRoot
in file Container.php, method Config_Container::isRoot()
    Is this item root, in a config container object
top

m

MY_CONFIG_OPTION
in file bug16724-config.php, constant MY_CONFIG_OPTION
top

n

$name
in file Container.php, variable Config_Container::$name
    Container object name
top

o

$options
in file PHPConstants.php, variable Config_Container_PHPConstants::$options
    Valid config options:
  • "lowercase" - boolean - config names are lowercased when reading them
$options
in file XML.php, variable Config_Container_XML::$options
    This class options:
$options
in file PHPArray.php, variable Config_Container_PHPArray::$options
    This class options:
$options
in file IniFile.php, variable Config_Container_IniFile::$options
    This class options Not used at the moment
$options
in file GenericConf.php, variable Config_Container_GenericConf::$options
    This class options:
$options
in file IniCommented.php, variable Config_Container_IniCommented::$options
    Options for this class:
  • linebreak - Character to use as new line break when serializing
$options
in file Apache.php, variable Config_Container_Apache::$options
    This class options Not used at the moment
top

p

$parent
in file Container.php, variable Config_Container::$parent
    Reference to container object's parent
$parserOptions
in file Config.php, variable Config::$parserOptions
    Options for parser
PHPArray.php
procedural page PHPArray.php
PHPConstants.php
procedural page PHPConstants.php
phpt_test.php.inc
procedural page phpt_test.php.inc
parseConfig
in file Config.php, method Config::parseConfig()
    Parses the datasource contents
parseDatasrc
in file XML.php, method Config_Container_XML::parseDatasrc()
    Parses the data of the given configuration file
parseDatasrc
in file PHPConstants.php, method Config_Container_PHPConstants::parseDatasrc()
    Parses the data of the given configuration file
parseDatasrc
in file IniFile.php, method Config_Container_IniFile::parseDatasrc()
    Parses the data of the given configuration file
parseDatasrc
in file GenericConf.php, method Config_Container_GenericConf::parseDatasrc()
    Parses the data of the given configuration file
parseDatasrc
in file IniCommented.php, method Config_Container_IniCommented::parseDatasrc()
    Parses the data of the given configuration file
parseDatasrc
in file Apache.php, method Config_Container_Apache::parseDatasrc()
    Parses the data of the given configuration file
parseDatasrc
in file PHPArray.php, method Config_Container_PHPArray::parseDatasrc()
    Parses the data of the given configuration file
top

r

registerConfigType
in file Config.php, method Config::registerConfigType()
    Register a new container
removeItem
in file Container.php, method Config_Container::removeItem()
    Deletes an item (section, directive, comment...) from the current object
top

s

setup.php.inc
procedural page setup.php.inc
searchPath
in file Container.php, method Config_Container::searchPath()
    Finds a node using XPATH like format.
setAttributes
in file Container.php, method Config_Container::setAttributes()
    Set this item's attributes.
setContent
in file Container.php, method Config_Container::setContent()
    Set this item's content.
setDirective
in file Container.php, method Config_Container::setDirective()
    Set a children directive content.
setName
in file Container.php, method Config_Container::setName()
    Set this item's name.
setRoot
in file Config.php, method Config::setRoot()
    Sets the content of the root Config_container object.
setType
in file Container.php, method Config_Container::setType()
    Set this item's type.
top

t

$type
in file Container.php, variable Config_Container::$type
    Container object type
toArray
in file Container.php, method Config_Container::toArray()
    Returns a key/value pair array of the container and its children.
toString
in file PHPArray.php, method Config_Container_PHPArray::toString()
    Returns a formatted string of the object
toString
in file PHPConstants.php, method Config_Container_PHPConstants::toString()
    Returns a formatted string of the object
toString
in file XML.php, method Config_Container_XML::toString()
    Returns a formatted string of the object
toString
in file IniFile.php, method Config_Container_IniFile::toString()
    Returns a formatted string of the object
toString
in file GenericConf.php, method Config_Container_GenericConf::toString()
    Returns a formatted string of the object
toString
in file Container.php, method Config_Container::toString()
    Call the toString methods in the container plugin
toString
in file Apache.php, method Config_Container_Apache::toString()
    Returns a formatted string of the object
toString
in file IniCommented.php, method Config_Container_IniCommented::toString()
    Returns a formatted string of the object
top

u

updateAttributes
in file Container.php, method Config_Container::updateAttributes()
    Set this item's attributes.
top

w

writeConfig
in file Config.php, method Config::writeConfig()
    Writes the container contents to the datasource.
writeDatasrc
in file PHPConstants.php, method Config_Container_PHPConstants::writeDatasrc()
    Writes the configuration to a file
writeDatasrc
in file Container.php, method Config_Container::writeDatasrc()
    Writes the configuration to a file
writeDatasrc
in file PHPArray.php, method Config_Container_PHPArray::writeDatasrc()
    Writes the configuration to a file
top

x

XML.php
procedural page XML.php
top

Documentation generated on Fri, 24 Dec 2010 08:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.