previousConfig::writeConfig (Previous) (Next) Config_Container::addItemnext

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Config_Container::Config_Container

Config_Container::Config_Container() – Constructor

Synopsis

require_once 'Config/Container.php';

&Config_Container::Config_Container ( string $type = '' , string $name = '' , string $content = '' , mixed $attributes = null )

Description

Creates a new Config_Container and returns it by reference.

Parameter

string $type

Type of container object, should be something among 'section' , 'comment' , 'directive' , 'blank' .

string $name

Name of container object. The name is required for sections and directives, not for blanks or comments.

string $content

Content of container object. The content is used in directives and comments.

array $attributes

Array of attributes for container object. Optionally, you can add attributes to your container. These can be used by the chosen parser.

Return value

object - A reference to the created object.

Note

This function can not be called statically.

previousConfig::writeConfig (Previous) (Next) Config_Container::addItemnext

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.