OxyScripts.com
Menu spacer Home Tutorials Articles Code Forums irc.freenode.net #oxyscripts
Main (PHP)
Home Forums PHP News PHP Tutorials Articles PHP Code Snippets Contact Us Sysadmin Resources Books Template Shop
3rd Party Streams
SlashDot PHPDeveloper.org PHP.Net
Resources
PHP Manual MySQL Manual Smarty Manual PEAR Manual PHP-GTK Manual Symfony Manual
Code Snippets
Authentication Database Graphics HTTP Miscellaneous Time/Date
Affiliates
Scripts TutorialMan TutorialGuide CodingForums.com PHP Scripts Cheap Web Hosting Affordable Web Hosting Dreamweaver Templates

Search This Site :     PHP Function Reference :
 
Config

Config

Table of Contents
Introduction --  What Config can do
Editing a configuration --  How to manipulate your configuration content
Config::Config() -- constructor
Config::getRoot() -- Return root container for config object
Config::isConfigTypeRegistered() -- Returns TRUE if container is registered
Config::parseConfig() -- Parse datasource contents
Config::setRoot() -- Set content of root Config_container object
Config::writeConfig() -- Write container content to datasource
Config_Container::Config_Container() -- Constructor
Config_Container::addItem() -- Add item to this item.
Config_Container::countChildren() -- Count children of container
Config_Container::createBlank() -- Add blank line to item
Config_Container::createComment() -- Add comment to item
Config_Container::createDirective() -- Add directive to item
Config_Container::createItem() -- Create new child for section item
Config_Container::createSection() -- Add section to item
Config_Container::getAttribute() -- Get attribute value of item
Config_Container::getAttributes() -- Get item attributes
Config_Container::getChild() -- Return child object at specified index.
Config_Container::getContent() -- Get item content
Config_Container::getItem() -- Tries to find specific items
Config_Container::getItemIndex() -- Return item index in its parent children array
Config_Container::getItemPosition() -- Return item rank in its parent children array
Config_Container::getName() -- Get item name
Config_Container::getParent() -- Return item parent object
Config_Container::getType() -- Get item type
Config_Container::isRoot() -- Check for root item
Config_Container::removeItem() -- Deletes an item from the object
Config_Container::searchPath() -- Finds a node using XPATH like format
Config_Container::setAttributes() -- Set item attributes
Config_Container::setContent() -- Set item content
Config_Container::setDirective() -- Set child directive content or create new directive
Config_Container::setName() -- Set item name
Config_Container::setType() -- Set item type
Config_Container::toArray() -- Return key/value pair array of container and its children
Config_Container::toString() -- Return string representation
Config_Container::updateAttributes() -- Update item attributes
Config_Container::writeDatasrc() -- Write item to file

The Config package provides methods for configuration manipulation.

 
   Print this page

Top Sponsor
Symantec\'s Norton SystemWorks 2006
Sponsors
CA
Sponsors
AdWords Dominator 125*125
Advertisting


Affiliates
VertexTemplates PHPFreaks CodeWalkers StarGeek DevScripts CGI & PHP Scripts PHP CMS

Shopping Rebates   Sell It 4 You   Flash Page Counters   Get Insured
GPS Tracking Service   Charity Donate Info   Web Site Hosting   VOIP Service

Privacy Policy | Links | Site Map | Advertising

All content on OxyScripts.com is (©)2002-2007

 
Powered by Adrastea - Version 1.0.0. Copyright © Rune Solutions, 2004-2005