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

Class: PluginConfig

Source Location: /common/Config.php

Class Overview

Config
   |
   --PluginConfig

Configuration for plugins


Author(s):

Variables

Methods


Child classes:

ClientPluginConfig
Configuration for client plugins
ServerPluginConfig
Server plugin configuration

Inherited Variables

Inherited Methods

Class: Config

Config::__construct()
Constructor
Config::getBasePath()
Returns the client or server root path
Config::getIniArray()
Returns protected var $ini_array.
Config::getKind()
Returns type of config ('client' or 'server')
Config::__get()
Property access method

Class Details

[line 133]
Configuration for plugins



Tags:

abstract:  


[ Top ]


Class Variables

$plugin =

[line 138]



Tags:

access:  protected

Type:   BasePlugin


[ Top ]



Class Methods


constructor __construct [line 155]

PluginConfig __construct( BasePlugin $plugin, ProjectHandler $projectHandler)

Constructor

Reads project's and default plugin .ini file, if they exist.




Tags:

access:  public


Overridden in child classes as:

ClientPluginConfig::__construct()
Constructor
ServerPluginConfig::__construct()
Constructor

Overrides Config::__construct() (Constructor)

Parameters:

BasePlugin   $plugin  
ProjectHandler   $projectHandler  

[ Top ]

method getPath [line 146]

string getPath( )

Returns directory where .ini are located

Directory returned is relative to client_conf/server_conf.




Tags:

return:  path
access:  public
abstract:  


Overridden in child classes as:

ClientPluginConfig::getPath()
Returns directory where .ini are located
ServerPluginConfig::getPath()

[ Top ]


Documentation generated on Wed, 6 Apr 2005 12:06:36 +0200 by phpDocumentor 1.3.0RC3