Class PHRUTS_FormBeanConfig

Description

A PHPBean representing the configuration information of a <form-bean> element in a PHruts application 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_FormBeanConfig.php,v 1.4 2008/05/21 15:12:33 ohenry Exp $
  • copyright: Copyright PHruts 2008

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


	
			
Variable Summary
Method Summary
void freeze ()
string getName ()
string getType ()
void setModuleConfig (PHRUTS_ModuleConfig $moduleConfig)
void setName (string $name)
void setType (string $type)
string __toString ()
Variables
boolean $configured = false (line 37)

Has this component been completely configured?

  • access: protected
PHRUTS_ModuleConfig $moduleConfig = null (line 52)

The module configuration with which this form bean definition is associated.

  • access: protected
string $name = null (line 88)

The unique identifier of this form bean.

It is used to reference this bean in PHRUTS_ActionConfig instances as well as for the name of the request or session attribute under which the corresponding form bean instance is created or accessed.

  • access: protected
string $type = null (line 114)

The fully qualified PHP class name of the implementation class to be used or generated.

  • access: protected
Methods
freeze (line 42)

Freeze the configuration of this component.

  • access: public
void freeze ()
getModuleConfig (line 60)

Return the module configuration with which this form bean definition is associated.

  • access: public
PHRUTS_ModuleConfig getModuleConfig ()
getName (line 93)
  • access: public
string getName ()
getType (line 119)
  • access: public
string getType ()
setModuleConfig (line 73)

Set the module configuration with which this form bean definition is associated.

  • todo: Check if the parameter is a PHRUTS_ModuleConfig object.
  • throws: PHRUTS_IllegalStateException
  • access: public
void setModuleConfig (PHRUTS_ModuleConfig $moduleConfig)
  • PHRUTS_ModuleConfig $moduleConfig: The new PHRUTS_ModuleConfig or null to disassociate this form bean configuration from any module
setName (line 101)
  • throws: PHRUTS_IllegalStateException
  • access: public
void setName (string $name)
  • string $name
setType (line 127)
  • throws: PHRUTS_IllegalStateException
  • access: public
void setType (string $type)
  • string $type
__toString (line 139)

Return a String representation of this object.

  • access: public
string __toString ()

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