Class PHRUTS_PlugInConfig

Description

A PHPBean representing the configuration information of a <plug-in> element in a PHruts configuration file.

  • author: John WILDENAUER <jwilde@users.sourceforge.net> (PHP4 port of Struts)
  • author: Olivier HENRY <oliv.henry@gmail.com> (PHP5 port of Struts)
  • version: $Id: PHRUTS_PlugInConfig.php,v 1.3 2008/05/16 16:09:37 ohenry Exp $
  • copyright: Copyright PHruts 2008

Located in /config/PHRUTS_PlugInConfig.php (line 31)


	
			
Variable Summary
string $className
boolean $configured
array $properties
Method Summary
void addProperty (string $name, string $value)
void freeze ()
string getClassName ()
array getProperties ()
void setClassName (string $className)
string __toString ()
Variables
string $className = null (line 53)

The fully qualified PHP class name of the PHRUTS_PlugIn implementation class being configured.

  • access: protected
boolean $configured = false (line 37)

Has this component been completely configured?

  • access: protected
array $properties = array() (line 45)

A map of the name-value pairs that will be used to configure the property values of a PlugIn instance.

  • access: protected
Methods
addProperty (line 77)

Add a new property name and value to the set that will be used to configure the PHRUTS_PlugIn instance.

  • throws: PHRUTS_IllegalStateException
  • access: public
void addProperty (string $name, string $value)
  • string $name: Property name
  • string $value: Property value
freeze (line 88)

Freeze the configuration of this component.

  • access: public
void freeze ()
getClassName (line 58)
  • access: public
string getClassName ()
getProperties (line 98)

Return the properties that will be used to configure a PHRUTS_PlugIn instance.

  • access: public
array getProperties ()
setClassName (line 65)
  • access: public
void setClassName (string $className)
  • string $className
__toString (line 107)

Return a string representation of this object.

  • access: public
string __toString ()

Documentation generated on Sat, 31 May 2008 15:46:26 +0200 by phpDocumentor 1.4.1