Class PHRUTS_ControllerConfig

Description

A PHPBean representing the configuration information of a <controller> 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_ControllerConfig.php,v 1.5 2008/05/28 15:52:27 ohenry Exp $
  • copyright: Copyright PHruts 2008

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


	
			
Variable Summary
boolean $configured
string $contentType
boolean $inputForward
boolean $locale
boolean $nocache
Method Summary
void freeze ()
string getContentType ()
boolean getInputForward ()
boolean getLocale ()
boolean getNocache ()
string getProcessorClass ()
void setContentType (string $contentType)
void setInputForward (boolean $inputForward)
void setLocale (boolean $locale)
void setNocache (boolean $nocache)
void setProcessorClass (string $processorClass)
string __toString ()
Variables
boolean $configured = false (line 37)

Has this component been completely configured?

  • access: protected
string $contentType = 'text/html' (line 77)

The content type and character encoding to be set on each response.

  • access: protected
boolean $inputForward = false (line 135)

Should the input property of PHRUTS_ActionConfig instances associated with this module be treated as the name of a corresponding PHRUTS_ForwardConfig.

A false value treats them as a context-relative path.

  • access: protected
boolean $locale = true (line 165)

Should we store a PHRUTS_Locale object in the user's session if needed?

  • access: protected
boolean $nocache = false (line 102)

Should we set no-cache HTTP headers on each response?

  • access: protected
string $processorClass = 'phruts::action::PHRUTS_RequestProcessor' (line 52)

The fully qualified class name of the PHRUTS_RequestProcessor implementation class to be used for this module.

  • access: protected
Methods
freeze (line 42)

Freeze the configuration of this component.

  • access: public
void freeze ()
getContentType (line 82)
  • access: public
string getContentType ()
getInputForward (line 140)
  • access: public
boolean getInputForward ()
getLocale (line 170)
  • access: public
boolean getLocale ()
getNocache (line 107)
  • access: public
boolean getNocache ()
getProcessorClass (line 57)
  • access: public
string getProcessorClass ()
setContentType (line 90)
  • throws: PHRUTS_IllegalStateException
  • access: public
void setContentType (string $contentType)
  • string $contentType
setInputForward (line 148)
  • throws: PHRUTS_IllegalStateException
  • access: public
void setInputForward (boolean $inputForward)
  • boolean $inputForward
setLocale (line 178)
  • throws: PHRUTS_IllegalStateException
  • access: public
void setLocale (boolean $locale)
  • boolean $locale
setNocache (line 115)
  • throws: PHRUTS_IllegalStateException
  • access: public
void setNocache (boolean $nocache)
  • boolean $nocache
setProcessorClass (line 65)
  • throws: PHRUTS_IllegalStateException
  • access: public
void setProcessorClass (string $processorClass)
  • string $processorClass
__toString (line 195)

Return a string representation of this object.

  • access: public
string __toString ()

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