Class PHRUTS_ServiceConfig

Description

The collection of static configuration information that describes a PHruts application.

  • 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_ServiceConfig.php,v 1.2 2008/05/21 15:12:33 ohenry Exp $
  • copyright: Copyright PHruts 2008

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


	
			
Variable Summary
array $parameters
string $pathParam
Method Summary
string getInitParameter (string $name)
string getPathParam ()
void setIncludePath (string $path, boolean $relative)
void setInitParameter (string $name, string $value)
void setPathParam (string $pathParam)
Variables
array $includePaths = array() (line 44)

Array of paths to add to the include_path PHP directive.

  • access: protected
array $parameters = array() (line 51)

The initialization parameters.

  • access: protected
string $pathParam = 'do' (line 37)

The request param which indicate the path of the action to execute.

  • access: protected
Methods
getInitParameter (line 88)

Returns a string containing the value of the named initialization parameter, or null if the parameter does not exist.

  • access: public
string getInitParameter (string $name)
  • string $name: The name of the initialization parameter
getInitParameterNames (line 102)

Returns the names of the service's initialization parameters.

  • return: Returns an array of string, or an empty array if the service has no initialization parameters
  • access: public
array getInitParameterNames ()
getPathParam (line 56)
  • access: public
string getPathParam ()
setIncludePath (line 72)
  • access: public
void setIncludePath (string $path, boolean $relative)
  • string $path: The path to add to the include_path PHP directive
  • boolean $relative: Indicate if the path is relative to the application context or absolute
setInitParameter (line 112)

Set an initialization parameter.

  • access: public
void setInitParameter (string $name, string $value)
  • string $name: Name of the initialization parameter
  • string $value: Value of the initialization parameter
setPathParam (line 63)
  • access: public
void setPathParam (string $pathParam)
  • string $pathParam

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