-
$actionConfigClass
-
The default class name to be used when creating action config instances.
-
$actionConfigs
-
The set of action configurations for this module, if any, keyed by the path property.
-
$actions
-
The set of PHRUTS_Action instances that have been created and initialized, keyed by the fully qualified PHP class name of the PHRUTS_Action class.
-
$attribute
-
The request-scope or session-scope attribute name under which our form bean is accessed, if it is different from the form bean's specified name.
-
$attributes
-
The context attributes.
-
$attributes
-
The attributes associated with this request, keyed by attribute name.
-
$attributes
-
-
$autoflush
-
If auto-flush is enabled, any writes are automatically flushed to the client whenever writeln method is called.
-
ACTION_SERVICE_KEY
-
The context attributes key under which our ActionService instance will be stored.
-
add
-
Add an error message to the set of errors for the specified property.
-
addActionConfig
-
Add a new PHRUTS_ActionConfig instance to the set associated with this module.
-
addCookie
-
Adds the specified cookie to the response.
-
addDataSourceConfig
-
Add a new PHRUTS_DataSourceConfig instance to the set associated with this module.
-
addDateHeader
-
Adds a response header with the given name and date-value.
-
addFormBeanConfig
-
Add a new PHRUTS_FormBeanConfig instance to the set associated with this module.
-
addForwardConfig
-
Add a new PHRUTS_ForwardConfig instance to the set of global forwards associated with this action.
-
addForwardConfig
-
Add a new PHRUTS_ForwardConfig instance to the set of global forwards associated with this module.
-
addHeader
-
Add a response header with the given name and value.
-
addMessageResourcesConfig
-
Add a new PHRUTS_MessageResourcesConfig instance to the set associated with this module.
-
addPlugInConfig
-
Add a newly configured PHRUTS_PlugInConfig instance to the set of plug-in Actions for this module.
-
addProperty
-
Add a new custom configuration property.
-
addProperty
-
Add a new property name and value to the set that will be used to configure the PHRUTS_PlugIn instance.
-
addRuleInstances
-
Add the set of PHIGEST_Rule instances defined in this RuleSet to the specified PHIGEST_Digester instance.
-
addRuleInstances
-
Add the set of PHIGEST_Rule instances defined in this RuleSet to the specified PHIGEST_Digester instance.
-
$CANADA
-
PHRUTS_Locale which represents the English speaking portion of Canada.
-
$CANADA_FRENCH
-
PHRUTS_Locale which represents the French speaking portion of Canada.
-
$characterEncoding
-
The character encoding associated with this Response.
-
$charsetSet
-
Has the charset been explicitly set.
-
$CHINA
-
PHRUTS_Locale which represents China.
-
$CHINESE
-
PHRUTS_Locale which represents the Chinese language.
-
$className
-
The fully qualified PHP class name of the PHRUTS_PlugIn implementation class being configured.
-
$committed
-
Boolean indicating if the response has been committed.
-
$config
-
The configuration parameter used to initialize this PHRUTS_MessageResources.
-
$config
-
Comma-separated list of context-relative path(s) to our configuration resource(s) for the default module.
-
$config
-
Data source configuration.
-
$configDigester
-
The digester used to produce PHRUTS_ModuleConfig object from a PHruts configuration file.
-
$configured
-
Has this component been completely configured?
-
$configured
-
Has this component been completely configured?
-
$configured
-
Has this component been completely configured?
-
$configured
-
Has this application been completely configured yet.
-
$configured
-
Has this component been completely configured?
-
$configured
-
Has this component been completely configured?
-
$configured
-
Has this component been completely configured?
-
$configured
-
Has this component been completely configured?
-
$contentType
-
The content type and character encoding to be set on each response.
-
$contentType
-
The content type associated with this Response.
-
$context
-
The context this PHRUTS_RequestDispatcher is associated with.
-
$controllerConfig
-
The controller configuration object for this module
-
$cookies
-
The set of Cookies associated with this Response.
-
$cookies
-
The set of cookies associated with this request.
-
$country
-
The country code, as returned by getCountry().
-
CANCEL_KEY
-
The request attributes key under which a boolean true value should be stored if this request was cancelled.
-
CANCEL_PROPERTY
-
The property under which a Cancel button press is reported.
-
classIsAssignableFrom
-
Discover whether an instance of the class from would be an instance of the class as well.
-
clear
-
Clear all errors recorded by this object.
-
CLIENT_CERT_AUTH
-
String identifier for Client Certificate authentication.
-
commit
-
Commit the response.
-
commit
-
-
containsHeader
-
Returns a boolean indicating whether the named response header has already been set.
-
createActionForm
-
Create (if necessary) and return a PHRUTS_ActionForm instance appropriate for this request.
-
createDataSource
-
Create a data source object.
-
createDataSource
-
Create a data source object.
-
createFactory
-
Create and return a PHRUTS_DataSourceFactory instance of the appropriate class, which can be used to create customized data source instances.
-
createFactory
-
Create and return a PHRUTS_MessageResourcesFactory instance of the appropriate class, which can be used to create customized PHRUTS_MessageResources instances.
-
createObject
-
-
createObject
-
-
createObject
-
-
createObject
-
-
createObject
-
-
createObject
-
-
createResources
-
Create and return a newly instansiated PHRUTS_MessageResources.
-
createResources
-
Create an return a newly instansiated PHRUTS_MessageResources.
-
$factory
-
Fully qualified PHP class name of the PHRUTS_MessageResourcesFactory class we should use.
-
$factoryClass
-
The fully qualified class name to be used for PHRUTS_MessageResourcesFactory instances.
-
$factoryClass
-
The fully qualified class name to be used for PHRUTS_DataSourceFactory instances.
-
$formats
-
The set of previously created formated messages, keyed by the key computed in messageKey method.
-
$formBeans
-
The set of form bean configurations for this module, if any, keyed by the name property.
-
$forward
-
Context-relative path of the web application resource that will process this request via PHRUTS_RequestDispatcher->doForward(), instead of instantiating and calling the PHRUTS_Action class specified by "type".
-
$forwards
-
The set of global forward configurations for this module, if any, keyed by the name property.
-
$forwards
-
The set of local forward configurations for this action, if any, keyed by the name property.
-
$FRANCE
-
PHRUTS_Locale which represents France.
-
$FRENCH
-
PHRUTS_Locale which represents the French language.
-
findActionConfig
-
Return the action configuration for the specified path, if any; otherwise return null.
-
findActionConfigs
-
Return the action configurations for this module.
-
findDataSourceConfig
-
Return the data source configuration for the specified key, if any; otherwise return null.
-
findDataSourceConfigs
-
Return the data source configurations for this module.
-
findFormBeanConfig
-
Return the form bean configuration for the specified key, if any; otherwise return null.
-
findFormBeanConfigs
-
Return the form bean configurations for this module.
-
findForwardConfig
-
Return the forward configuration for the specified key, if any; otherwise return null.
-
findForwardConfig
-
Return the forward configuration for the specified key, if any; otherwise return null.
-
findForwardConfigs
-
Return the forward configurations for this module.
-
findForwardConfigs
-
Return all forward configurations for this Action.
-
findMessage
-
Returns a text message for the specified key, for the specified PHRUTS_Locale.
-
findMessageByLocaleKey
-
Returns a text message for the specified key, for the specified PHRUTS_Locale.
-
findMessageResourcesConfig
-
Return the message resources configuration for the specified key, if any; otherwise return null.
-
findMessageResourcesConfigs
-
Return the message resources configurations for this module.
-
findPlugInConfigs
-
Return the configured plug-in actions for this module.
-
flushBuffer
-
Forces any content in the buffer to be written to the client.
-
formatMessage
-
Format the message pattern by replacing the {0}-{3} parameters with the corresponding args array parameters.
-
FORM_AUTH
-
String identifier for Form authentication.
-
freeze
-
Freeze the configuration of this component.
-
freeze
-
Freeze the configuration of this module.
-
freeze
-
Freeze the configuration of this component.
-
freeze
-
Freeze the configuration of this action.
-
freeze
-
Freeze the configuration of this component.
-
freeze
-
Freeze the configuration of this data source.
-
freeze
-
Freeze the configuration of this component.
-
freeze
-
Freeze the configuration of this component.
-
$GERMAN
-
PHRUTS_Locale which represents the German language.
-
$GERMANY
-
PHRUTS_Locale which represents Germany.
-
gc_execute
-
Execution of the internal garbage collector.
-
get
-
Return the set of errors related to a specific property or the set of all recorded errors (property = "") without distinction by which property the errors are associated with.
-
getActionConfigClass
-
The default class name to be used when creating action config instances.
-
getAttribute
-
Returns the object bound with the specified name in this session, or null if no object is bound under the name.
-
getAttribute
-
Return the request-scope or session-scope attribute name under which our form bean is accessed, if it is different from the form bean's specified name.
-
getAttribute
-
Returns the value of the named attribute as an object, or null if no attribute of the given name exists.
-
getAttribute
-
Returns the attribute with the given name, or null if there is no attribute by that name.
-
getAttributeNames
-
Returns an array containing the names of the attributes available to this request.
-
getAttributeNames
-
Returns an array of string containing the names of all the objects bound to this session.
-
getAttributeNames
-
Returns an array containing the attribute names available within this context.
-
getAuthType
-
Returns the name of the authentication scheme used to protect the service.
-
getAutoflush
-
Returns the actual auto-flush property for the response.
-
getBaseMessage
-
Returns a text message for the specified key and the specified PHRUTS_Locale.
-
getBaseMessage
-
Returns a text message for the specified key, for the specified PHRUTS_Locale.
-
getBufferSize
-
Returns the actual buffer size used for the response.
-
getCharacterEncoding
-
Returns the name of the character encoding (MIME charset) used for the body sent in this response.
-
getClassName
-
Return only the class name of a fully qualified name.
-
getClassName
-
-
getConfig
-
The configuration parameter used to initialize this PHRUTS_MessageResources.
-
getConfig
-
-
getConfigured
-
Has this module been completely configured yet.
-
getContentType
-
Returns the MIME type of the body of the request, or null if the type is not known.
-
getContentType
-
-
getContentType
-
Returns the content type used for the MIME body sent in this response.
-
getControllerConfig
-
The controller configuration object for this module.
-
getCookies
-
Returns an array containing all of the Cookie objects the client sent with this request.
-
getCountry
-
Returns the country code of this locale.
-
getDataSource
-
Return the specified data source for the current module.
-
getDataSource
-
Return the specified data source for the current module.
-
getDefault
-
Returns the default PHRUTS_Locale.
-
getDomain
-
Returns the domain name set for this cookie.
-
getFactory
-
-
getFactoryClass
-
-
getFactoryClass
-
-
getForward
-
Return context-relative path of the web application resource that will process this request.
-
getHeader
-
Returns the value of the specified request header as a string.
-
getHeaderNames
-
Returns an array of all the header names this request contains.
-
getHttpOnly
-
Return true if the cookie is accessible only through the HTTP protocol.
-
getId
-
Returns a string containing the unique identifier assigned to this session.
-
getInclude
-
Context-relative path of the web application resource that will process this request.
-
getInitParameter
-
Returns a string containing the value of the named initialization parameter, or null if the parameter does not exist.
-
getInitParameter
-
Returns a string containing the value of the named initialization parameter, or null if the parameter does not exist.
-
getInitParameterNames
-
Returns the names of the service's initialization parameters.
-
getInitParameterNames
-
Returns the names of the service's initialization parameters.
-
getInput
-
Get the context-relative path of the input form to which control should be returned if a validation error is encountered.
-
getInputForward
-
-
getInternal
-
Return the PHRUTS_MessageResources instance containing our internal message strings.
-
getInternal
-
Return the PHRUTS_MessageResources instance containing our internal message strings.
-
getKey
-
Get the message key for this message.
-
getKey
-
-
getKey
-
-
getLanguage
-
Returns the language code of this locale.
-
getList
-
-
getLocale
-
Returns the preferred PHRUTS_Locale that the client will accept content in, based on the Accept-Language header.
-
getLocale
-
Return the user's currently selected Locale.
-
getLocale
-
-
getMaxAge
-
Returns the maximum age of the cookie, specified in seconds.
-
getMaxInactiveInterval
-
Returns the maximum time interval, in seconds, that the server will keep this session open between client accesses.
-
getMessage
-
Returns a text message after parametric replacement of the specified parameter placeholders.
-
getMethod
-
Returns the name of the HTTP method with which this request was made, for exemple, GET, POST or PUT.
-
getModuleConfig
-
Return the PHRUTS_ModuleConfig object if it exists, null otherwise.
-
getModuleConfig
-
The module configuration with which we are associated.
-
getModuleConfig
-
Return the module configuration with which this form bean definition is associated.
-
getModuleConfig
-
Return the module configuration object for the currently selected module.
-
getModuleName
-
Get the module name to which the specified request belong.
-
getName
-
-
getName
-
-
getName
-
Returns the name of the cookie.
-
getName
-
Return name of the form bean, if any, associated with this Action.
-
getNocache
-
-
getNull
-
-
getOrder
-
-
getParameter
-
Return general purpose configuration parameter that can be used to pass extra information to the PHRUTS_Action instance selected by this Action.
-
getParameter
-
-
getParameter
-
Returns the value of a request parameter as a string or null if the parameter does not exist.
-
getParameterNames
-
Returns an array of string containing the names of the parameters contained in this request.
-
getPath
-
Return context-relative path of the submitted request, starting with a slash ("/") character.
-
getPath
-
-
getPath
-
Returns the path on the server to which the browser returns this cookie.
-
getPathParam
-
-
getPrefix
-
The prefix of the context-relative portion of the request URI, used to select this configuration versus others supported by the controller service.
-
getPrefix
-
Return prefix used to match request parameter names to form bean property names, if any.
-
getProcessorClass
-
-
getProperties
-
Return the properties that will be used to configure a PHRUTS_PlugIn instance.
-
getProperties
-
-
getProperty
-
Gets the property with the specified key in the property list.
-
getProtocol
-
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion.
-
getQueryString
-
Returns the query string that is contained in the request URL after the path.
-
getRealPath
-
Returns the real path for a given virtual path.
-
getRedirect
-
-
getRemoteAddr
-
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request.
-
getRemotePort
-
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request.
-
getRemoteUser
-
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
-
getRequestDispatcher
-
Returns a PHRUTS_RequestDispatcher object that acts as a wrapper for the resource located at the given path.
-
getRequestProcessor
-
Look up and return the PHRUTS_RequestProcessor responsible for the specified module, creating a new one if necessary.
-
getRequestURI
-
-
getRequestURI
-
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
-
getRequestURL
-
Reconstructs the URL the client used to make the request.
-
getResources
-
Return the specified or default (key = "") message resources for the current module.
-
getReturnNull
-
-
getReturnNull
-
Indicates that a null is returned instead of an error message string if an unknown PHRUTS_Locale or key is requested.
-
getRoleNames
-
Get array of security role names used to authorize access to this Action.
-
getRoles
-
-
getScheme
-
Returns the name of the scheme used to make this request: "http" or "https".
-
getScope
-
Get the scope ("request" or "session") within which our form bean is accessed, if any.
-
getSecure
-
Returns true if the browser is sending cookies only over a secure protocol, or false if the browser can send cookies using any protocol.
-
getServerName
-
Returns the host name of the server to which the request was sent.
-
getServerPort
-
Returns the port number to which this request was sent.
-
getService
-
Return the controller service instance to which we are attached.
-
getService
-
Return the controller service instance to which we are attached.
-
getServiceConfig
-
Get the service configuration object associated with this context.
-
getServiceContext
-
-
getSession
-
Returns the current PHRUTS_HttpSession associated with this request or, if there is no current session and create is true, returns a new session.
-
getSuffix
-
Return suffix used to match request parameter names to form bean property names, if any.
-
getType
-
-
getType
-
-
getType
-
-
getUnknown
-
Determine whether Action is configured as the default one for this module.
-
getValidate
-
-
getValue
-
Returns the value of the cookie.
-
getValues
-
Get the replacement values for this message.
-
getVariant
-
Returns the variant code of this locale.
-
GLOBAL_ERROR
-
The "property name" marker to use for global errors, as opposed to those related to a specific property.
-
$iCount
-
The current number of the property/key being added. This is used to maintain the order errors are added.
-
$inactiveInterval
-
-
$include
-
Context-relative path of the web application resource that will process this request via PHRUTS_RequestDispatcher->doInclude(), instead of instantiating and calling the PHRUTS_Action class specified by "type".
-
$includePaths
-
Array of paths to add to the include_path PHP directive.
-
$input
-
Context-relative path of the input form to which control should be returned if a validation error is encountered.
-
$inputForward
-
Should the input property of PHRUTS_ActionConfig instances associated with this module be treated as the name of a corresponding PHRUTS_ForwardConfig.
-
$internal
-
The resources object for our internal resources.
-
$internalName
-
The PHP base name of our internal resources.
-
$iOrder
-
The position in the list of errors.
-
$ITALIAN
-
PHRUTS_Locale which represents the Italian language.
-
$ITALY
-
PHRUTS_Locale which represents Italy.
-
init
-
Receive notification that the specified module is being started up.
-
init
-
Initialize this service.
-
init
-
Receive notification that the specified module is being started up.
-
init
-
Initialize this request processor instance.
-
initConfigDigester
-
Create (if needed) and return a new PHIGEST_Digester instance that has been initialized to process PHruts module configuration file and configure a corresponding PHRUTS_ModuleConfig object (which must be pushed on to the evaluation stack before parsing begins).
-
initInternal
-
Initialize our internal message resources bundle.
-
initModuleConfig
-
Initialize the application configuration information for the specified module.
-
initModuleDataSources
-
Initialize the data sources for the specified module.
-
initModuleMessageResources
-
Initialize the application message resources for the specified module.
-
initModulePlugIns
-
Initialize the plug ins for the specified module.
-
initService
-
Initialize global characteristics of the controller service.
-
invoke
-
Ask the resource represented by this PHRUTS_RequestDispatcher to process the associated request, and create (or append to) the associated response.
-
invoke
-
-
isCancelled
-
Returns true if the current form's cancel button was pressed.
-
isCommitted
-
Returns a boolean indicating if the response has been committed.
-
isEmpty
-
Return true if there are no errors recorded in this collection, or false otherwise.
-
isPresent
-
Return true if there is a defined message for the specified key in the specified PHRUTS_Locale.
-
isSecure
-
Returns a boolean indicating whether this request was made using a secure channel (HTTPS).
-
isToken
-
Tests a string and returns true if the string counts as a reserved token in the PHP language.
-
isUserInRole
-
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
-
isValidClassName
-
Check if a fully qualified class name is valid.
-
$parameter
-
Parameter that is passed to the createResources method of our PHRUTS_MessageResourcesFactory implementation.
-
$parameter
-
General purpose configuration parameter that can be used to pass extra information to the PHRUTS_Action instance selected by this Action.
-
$parameters
-
The initialization parameters.
-
$path
-
-
$path
-
Context-relative path of the submitted request, starting with a slash ("/") character.
-
$path
-
The URL to which this PHRUTS_ForwardConfig entry points.
-
$pathParam
-
The request param which indicate the path of the action to execute.
-
$phpExtensionFile
-
The PHP extension file used to store PHP class.
-
$plugIns
-
The set of configured plug-in Actions for this module, if any, in the order they were declared and configured.
-
$PRC
-
PHRUTS_Locale which represents the People's Republic of China.
-
$prefix
-
The prefix of the context-relative portion of the request URI, used to select this configuration versus others supported by the controller service.
-
$prefix
-
Prefix used to match request parameter names to form bean property names, if any.
-
$processor
-
The PHRUTS_RequestProcessor instance we will use to process all incoming requests.
-
$processorClass
-
The fully qualified class name of the PHRUTS_RequestProcessor implementation class to be used for this module.
-
$properties
-
The custom configuration properties for this data source implementation.
-
$properties
-
-
$properties
-
A map of the name-value pairs that will be used to configure the property values of a PlugIn instance.
-
PHRUTS_Action.php
-
-
PHRUTS_ActionError.php
-
-
PHRUTS_ActionErrors.php
-
-
PHRUTS_ActionForm.php
-
-
PHRUTS_ActionService.php
-
-
PHRUTS_PlugIn.php
-
-
PHRUTS_RequestDispatcher.php
-
-
PHRUTS_RequestProcessor.php
-
-
PHRUTS_ServiceContext.php
-
-
PHRUTS_ActionConfig.php
-
-
PHRUTS_ConfigRuleSet.php
-
-
PHRUTS_ControllerConfig.php
-
-
PHRUTS_DataSourceConfig.php
-
-
PHRUTS_FormBeanConfig.php
-
-
PHRUTS_ForwardConfig.php
-
-
PHRUTS_MessageResourcesConfig.php
-
-
PHRUTS_ModuleConfig.php
-
-
PHRUTS_PlugInConfig.php
-
-
PHRUTS_ServiceConfig.php
-
-
PHRUTS_ServiceRuleSet.php
-
-
PHRUTS_Cookie.php
-
-
PHRUTS_HttpServiceRequest.php
-
-
PHRUTS_HttpServiceResponse.php
-
-
PHRUTS_HttpSession.php
-
-
PHRUTS_ClassNotFoundException.php
-
-
PHRUTS_IllegalArgumentException.php
-
-
PHRUTS_IllegalStateException.php
-
-
PHRUTS_InstantiationException.php
-
-
PHRUTS_IOException.php
-
-
PHRUTS_ServiceException.php
-
-
PHRUTS_Action
-
A PHRUTS_Action is an adapter between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request.
-
PHRUTS_ActionConfig
-
A PHPBean representing the configuration information of an <action> element from a PHruts module configuration file.
-
PHRUTS_ActionConfigFactory
-
An object creation factory which creates action config instances, taking into account the default class name, which may have been specified on the parent element and which is made available through the object on the top of the stack, which must be a PHRUTS_ModuleConfig.
-
PHRUTS_ActionError
-
An encapsulation of an individual error message returned by the validate() method of an PHRUTS_ActionForm.
-
PHRUTS_ActionErrorItem
-
This class is used to store a set of errors associated with a property/key and the position it was initially added to list.
-
PHRUTS_ActionErrors
-
A class that encapsulates the error messages being reported by the validate() method of a PHRUTS_ActionForm.
-
PHRUTS_ActionForm
-
A PHRUTS_ActionForm is a PHPBean optionally associated with one or more PHRUTS_ActionConfig.
-
PHRUTS_ActionService
-
PHRUTS_ActionService represents the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2".
-
PHRUTS_AddDataSourcePropertyRule
-
Class that calls addProperty for the top object on the stack, which must be a phruts::config::PHRUTS_DataSourceConfig.
-
PHRUTS_BeanUtils
-
Utility methods for populating PHPBeans properties via reflection.
-
PHRUTS_ClassLoader
-
The ClassLoader is a way of customizing the way PHP gets its classes and loads them into memory.
-
PHRUTS_ClassNotFoundException
-
Thrown when a class is requested by reflection, but the class definition cannot be found.
-
PHRUTS_ConfigRuleSet
-
The set of Digester rules required to parse a PHruts configuration file (phruts-config.xml).
-
PHRUTS_ControllerConfig
-
A PHPBean representing the configuration information of a <controller> element in a PHruts configuration file.
-
PHRUTS_ControllerConfigFactory
-
An object creation factory which creates controller config instances.
-
PHRUTS_Cookie
-
Cookie
-
PHRUTS_DataSourceConfig
-
A PHPBean representing the configuration information of a <data-source> element from a PHruts configuration file.
-
PHRUTS_DataSourceConfigFactory
-
An object creation factory which creates data source config instances.
-
PHRUTS_DataSourceFactory
-
Factory for data source instances.
-
PHRUTS_FormBeanConfig
-
A PHPBean representing the configuration information of a <form-bean> element in a PHruts application configuration file
-
PHRUTS_FormBeanConfigFactory
-
An object creation factory which creates form bean config instances.
-
PHRUTS_ForwardConfig
-
A PHPBean representing the configuration information of a <forward> element from a PHruts application configuration file.
-
PHRUTS_ForwardConfigFactory
-
An object creation factory which creates forward config instances.
-
PHRUTS_Globals
-
Global manifest constants for the entire PHruts framework.
-
PHRUTS_Globals.php
-
-
PHRUTS_HtmlBlock
-
HTML blocks.
-
PHRUTS_HttpServiceRequest
-
Defines an object to provide HTTP client request information to a service.
-
PHRUTS_HttpServiceResponse
-
Defines an object to assist a service in sending a http response to the client.
-
PHRUTS_HttpSession
-
Provides a way to identify a user across more than one page request or visit to a Web site and to store information about that user.
-
PHRUTS_IllegalArgumentException
-
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
-
PHRUTS_IllegalStateException
-
Thrown when a method is invoked at an illegal or inappropriate time.
-
PHRUTS_InstantiationException
-
Thrown when an attempt is made to us reflection to build a non-instantable class.
-
PHRUTS_IOException
-
Signal that an I/O exception of some sort has occured
-
PHRUTS_Locale
-
Locale
-
PHRUTS_MessageResources
-
General purpose abstract class that describes an API for retrieving Locale-sensitive messages from underlying resource locations of an unspecified design.
-
PHRUTS_MessageResourcesConfig
-
A PHPBean representing the configuration information of a <message-resources> element in a PHruts configuration file.
-
PHRUTS_MessageResourcesConfigFactory
-
An object creation factory which creates message resources config instances.
-
PHRUTS_MessageResourcesFactory
-
Factory for PHRUTS_MessagesResources instances.
-
PHRUTS_ModuleConfig
-
The collection of static configuration information that describes a PHruts-based module.
-
PHRUTS_PDODataSourceFactory
-
Factory for PDO data source instances.
-
PHRUTS_PlugIn
-
A PHRUTS_PlugIn is a configuration wrapper for a module-specific resource or service that needs to be notified about application startup and application shutdown events (corresponding to calls init() and destroy() on the corresponding PHRUTS_ActionService instance).
-
PHRUTS_PlugInConfig
-
A PHPBean representing the configuration information of a <plug-in> element in a PHruts configuration file.
-
PHRUTS_PlugInSetPropertyRule
-
Class that records the name and value of a configuration property to be used in configuring a PHRUTS_PlugIn instance when instantiated.
-
PHRUTS_Properties
-
A set of persistent properties, which can be loaded from a properties file.
-
PHRUTS_PropertyMessageResources
-
Concrete subclass of PHRUTS_MessageResources that reads message keys and corresponding strings from named property resources.
-
PHRUTS_PropertyMessageResourcesFactory
-
Factory for PHRUTS_PropertyMessageResources instances.
-
PHRUTS_RequestDispatcher
-
Defines an object that receives requests from the client and sends them to any resource (such as a HTML or PHP file) on the server.
-
PHRUTS_RequestProcessor
-
PHRUTS_RequestProcessor contains the processing logic that the PHruts controller service performs as it receives each service request.
-
PHRUTS_RequestUtils
-
General purpose utility methods related to processing a service request in the PHruts controller framework.
-
PHRUTS_ServiceConfig
-
The collection of static configuration information that describes a PHruts application.
-
PHRUTS_ServiceContext
-
Defines a set of methods that a controller service uses to get initialization parameters and store glogal attributes.
-
PHRUTS_ServiceException
-
Defines a general exception a controller service can throw when it encounters difficulty.
-
PHRUTS_ServiceRuleSet
-
The set of Digester rules required to parse a PHruts web configuration file (web.xml).
-
PHRUTS_SetActionConfigClassRule
-
Class that sets the name of the class to use when creating action config instances.
-
PHRUTS_Smarty
-
Smarty PlugIn.
-
PHRUTS_SmartyDispatcher
-
Defines an object that receives requests from the client and sends them to smarty resource on the server.
-
PHRUTS_Smarty.php
-
-
PHRUTS_HtmlBlock.php
-
-
PHRUTS_SmartyDispatcher.php
-
-
PLUG_INS_KEY
-
The base of the context attributes key under which an array of PlugIn instances will be stored.
-
populate
-
Populate the PHPBeans properties of the specified bean, based on the specified name/value pairs.
-
populate
-
Populate the properties of the specified PHPBean from the specified HTTP request, based on matching each parameter name (plus an optional prefix and/or suffix) against the corresponding JavaBeans "property setter" methods in the bean's class.
-
PREFIXES_KEY
-
The context attribute under which we store our prefixes list.
-
preformatted
-
-
process
-
Process a PHRUTS_HttpServiceRequest and create the corresponding PHRUTS_HttpServiceResponse.
-
process
-
Perform the standard request processing for this request, and create the corresponding response.
-
processActionCreate
-
Return a PHRUTS_Action instance that will be used to process the current request, creating a new one if necessary.
-
processActionForm
-
Retrieve and return the PHRUTS_ActionForm bean associated with this mapping, creating and stashing one if necessary.
-
processActionPerform
-
Ask the specified PHRUTS_Action instance to handle this request.
-
processContent
-
Set the default content type (with optional character encoding) for all responses if requested.
-
processForward
-
Process a forward requested by this mapping (if any).
-
processForwardConfig
-
Forward or redirect to the specified destination, by the specified mechanism.
-
processInclude
-
Process an include requested by this mapping (if any).
-
processLocale
-
Automatically select a PHRUTS_Locale for the current user, if requested.
-
processMapping
-
Select the mapping used to process the selection path for this request.
-
processNoCache
-
Set the no-cache headers for all responses, if requested.
-
processPath
-
Identify and return the path component (from the request URI) that we will use to select a PHRUTS_ActionConfig to dispatch with.
-
processPopulate
-
Populate the properties of the specified PHRUTS_ActionForm instance from the request parameters included with this request.
-
processPreprocess
-
General-purpose preprocessing hook that can be overridden as required by subclasses.
-
processRoles
-
If this action is protected by security roles, make sure that the current user possesses at least one of them.
-
processValidate
-
If this request was not cancelled, and the request's PHRUTS_ActionConfig has not disabled validation, call the validate method of the specified PHRUTS_ActionForm, and forward back to the input form if there were any errors.
-
properties
-
Return the set of property names for which at least one message has been recorded.
-
PHRUTS_BeanUtils.php
-
-
PHRUTS_ClassLoader.php
-
-
PHRUTS_DataSourceFactory.php
-
-
PHRUTS_Locale.php
-
-
PHRUTS_MessageResources.php
-
-
PHRUTS_MessageResourcesFactory.php
-
-
PHRUTS_PDODataSourceFactory.php
-
-
PHRUTS_Properties.php
-
-
PHRUTS_PropertyMessageResources.php
-
-
PHRUTS_PropertyMessageResourcesFactory.php
-
-
PHRUTS_RequestUtils.php
-
-
$sc
-
The status code for this response.
-
$scope
-
Identifier of the scope ("request" or "session") within which our form bean is accessed, if any.
-
$secure
-
-
$service
-
The controller service instance to which we are attached.
-
$service
-
The controller service we are associated with.
-
$service
-
The controller service to which we are attached.
-
$serviceConfig
-
The service configuration object associated with this context.
-
$serviceContext
-
Service context.
-
$session
-
Current PHRUTS_HttpSession associated with this request.
-
$SIMPLIFIED_CHINESE
-
Locale which represents the Chinese language as used in China.
-
$smarty
-
Smarty object.
-
$suffix
-
Suffix used to match request parameter names to form bean property names, if any.
-
saveErrors
-
Save the specified error messages keys into the appropriate request attribute, if any messages are required.
-
SC_ACCEPTED
-
Status code (202) indicating that a request was accepted for processing, but was not completed.
-
SC_BAD_GATEWAY
-
Status code (502) indicating that the HTTP server received an invalid response from a server it consulted when acting as a proxy or gateway.
-
SC_BAD_REQUEST
-
Status code (400) indicating the request sent by the client was syntactically incorrect.
-
SC_CONFLICT
-
Status code (409) indicating that the request could not be completed due to a conflict with the current state of the resource.
-
SC_CONTINUE
-
Status code (100) indicating the client can continue.
-
SC_CREATED
-
Status code (201) indicating the request succeeded and created a new resource on the server.
-
SC_EXPECTATION_FAILED
-
Status code (417) indicating that the server could not meet the expectation given in the Expect request header.
-
SC_FORBIDDEN
-
Status code (403) indicating the server understood the request but refused to fulfill it.
-
SC_FOUND
-
Status code (302) indicating that the resource reside temporarily under a different URI.
-
SC_GATEWAY_TIMEOUT
-
Status code (504) indicating that the server did not receive a timely response from the upstream server while acting as a gateway or proxy.
-
SC_GONE
-
Status code (410) indicating that the resource is no longer available at the server and no forwarding address is known.
-
SC_HTTP_VERSION_NOT_SUPPORTED
-
Status code (505) indicating that the server does not support or refuses to support the HTTP protocol version that was used in the request message.
-
SC_INTERNAL_SERVER_ERROR
-
Status code (500) indicating an error inside the HTTP server which prevented it from fulfilling the request.
-
SC_LENGTH_REQUIRED
-
Status code (411) indicating that the request cannot be handled without a defined Content-Length.
-
SC_METHOD_NOT_ALLOWED
-
Status code (405) indicating that the method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
-
SC_MOVED_PERMANENTLY
-
Status code (301) indicating that the resource has permanently moved to a new location, and that future references should use a new URI with their requests.
-
SC_MOVED_TEMPORARILY
-
Status code (302) indicating that the resource has temporarily moved to another location, but that future references should still use the original URI to access the resource.
-
SC_MULTIPLE_CHOICES
-
Status code (300) indicating that the requested resource corresponds to any one of a set of representations, each with its own specific location.
-
SC_NON_AUTHORITATIVE_INFORMATION
-
Status code (203) indicating that the meta information presented by the client did not originate from the server.
-
SC_NOT_ACCEPTABLE
-
Status code (406) indicating that the resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.
-
SC_NOT_FOUND
-
Status code (404) indicating that the requested resource is not available.
-
SC_NOT_IMPLEMENTED
-
Status code (501) indicating the HTTP server does not support the functionality needed to fulfill the request.
-
SC_NOT_MODIFIED
-
Status code (304) indicating that a conditional GET operation found that the resource was available and not modified.
-
SC_NO_CONTENT
-
Status code (204) indicating that the request succeeded but that there was no new information to return.
-
SC_OK
-
Status code (200) indicating the request succeeded normally.
-
SC_PARTIAL_CONTENT
-
Status code (206) indicating that the server has fulfilled the partial GET request for the resource.
-
SC_PAYMENT_REQUIRED
-
Status code (402) reserved for future use.
-
SC_PRECONDITION_FAILED
-
Status code (412) indicating that the precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.
-
SC_PROXY_AUTHENTICATION_REQUIRED
-
Status code (407) indicating that the client MUST first authenticate itself with the proxy.
-
SC_REQUESTED_RANGE_NOT_SATISFIABLE
-
Status code (416) indicating that the server cannot serve the requested byte range.
-
SC_REQUEST_ENTITY_TOO_LARGE
-
Status code (413) indicating that the server is refusing to process the request because the request entity is larger than the server is willing or able to process.
-
SC_REQUEST_TIMEOUT
-
Status code (408) indicating that the client did not produce a request within the time that the server was prepared to wait.
-
SC_REQUEST_URI_TOO_LONG
-
Status code (414) indicating that the server is refusing to service the request because the Request-URI is longer than the server is willing to interpret.
-
SC_RESET_CONTENT
-
Status code (205) indicating that the agent SHOULD reset the document view which caused the request to be sent.
-
SC_SEE_OTHER
-
Status code (303) indicating that the response to the request can be found under a different URI.
-
SC_SERVICE_UNAVAILABLE
-
Status code (503) indicating that the HTTP server is temporarily overloaded, and unable to handle the request.
-
SC_SWITCHING_PROTOCOLS
-
Status code (101) indicating the server is switching protocols according to Upgrade header.
-
SC_TEMPORARY_REDIRECT
-
Status code (307) indicating that the requested resource resides temporarily under a different URI.
-
SC_UNAUTHORIZED
-
Status code (401) indicating that the request requires HTTP authentication.
-
SC_UNSUPPORTED_MEDIA_TYPE
-
Status code (415) indicating that the server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
-
SC_USE_PROXY
-
Status code (305) indicating that the requested resource MUST be accessed through the proxy given by the Location field.
-
selectModule
-
Select the module to which the specified request belongs, and add corresponding request attributes to this request.
-
sendError
-
Sends an error response to the client using the specified status code and clearing the buffer.
-
sendRedirect
-
Sends a temporary redirect response to the client using the specified redirect location URL.
-
SESSION_GC
-
-
setActionConfigClass
-
The default class name to be used when creating action config instances.
-
setAttribute
-
Set the request-scope or session-scope attribute name under which our form bean is accessed, if it is different from the form bean's specified name.
-
setAttribute
-
Stores an attribute in this request.
-
setAttribute
-
Binds an object to a given attribute name in this context.
-
setAttribute
-
Binds an object to this session, using the name specified.
-
setAutoflush
-
Sets the auto-flush property for the response.
-
setCharacterEncoding
-
Sets the character encoding (MIME charset) of the response being sent to the client, for example, to UTF-8.
-
setClassName
-
-
setConfig
-
-
setContentType
-
-
setContentType
-
Sets the content type of the response being sent to the client, if the response has not been committed yet.
-
setControllerConfig
-
The controller configuration object for this module.
-
setDateHeader
-
Sets a response header with the given name and date-value.
-
setDefault
-
Changes the default locale.
-
setDomain
-
Specifies the domain within which this cookie should be presented.
-
setFactory
-
-
setFactoryClass
-
-
setFactoryClass
-
-
setForward
-
Set the context-relative path of the web application resource that will process this request.
-
setHeader
-
Sets a response header with the given name and value.
-
setHttpOnly
-
When true the cookie will be made accessible only through the HTTP protocol.
-
setInclude
-
Set context-relative path of the web application resource that will process this request.
-
setIncludePath
-
-
setInitParameter
-
Set an initialization parameter.
-
setInput
-
Set the context-relative path of the input form to which control should be returned if a validation error is encountered.
-
setInputForward
-
-
setKey
-
-
setKey
-
-
setList
-
-
setLocale
-
Set the user's currently selected PHRUTS_Locale.
-
setLocale
-
-
setMaxAge
-
Sets the maximum age of the cookie in seconds.
-
setMaxInactiveInterval
-
Specifies the time, in seconds, between client requests before the server will invalidate the session.
-
setModuleConfig
-
Set the module configuration with which this form bean definition is associated.
-
setModuleConfig
-
The module configuration with which we are associated.
-
setName
-
Set the name of the form bean, if any, associated with this Action.
-
setName
-
-
setName
-
-
setNocache
-
-
setNull
-
-
setOrder
-
-
setParameter
-
General purpose configuration parameter that can be used to pass extra information to the PHRUTS_Action instance selected by this Action.
-
setParameter
-
-
setPath
-
-
setPath
-
Set context-relative path of the submitted request, starting with a slash ("/") character.
-
setPath
-
Specifies a path for the cookie to which the client should return the cookie.
-
setPathParam
-
-
setPhpExtensionFile
-
-
setPrefix
-
The prefix of the context-relative portion of the request URI, used to select this configuration versus others supported by the controller service.
-
setPrefix
-
Set prefix used to match request parameter names to form bean property names, if any.
-
setProcessorClass
-
-
setProperty
-
Adds the given key/value pair to this properties.
-
setRedirect
-
-
setRequest
-
-
setRequestDispatcher
-
Set the request dispatcher object associated with this context.
-
setRequestURI
-
-
setReturnNull
-
Indicates that a null is returned instead of an error message string if an unknown locale or key is requested.
-
setReturnNull
-
-
setRoles
-
-
setScope
-
Set the scope ("request" or "session") within which our form bean is accessed, if any.
-
setSecure
-
Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL.
-
setService
-
Set the controller service instance to which we are attached (if service is non-null), or release any allocated resources (if service is null).
-
setService
-
Set the controller service instance to which we are attached (if service is non-null), or release any allocated resources (if service is null).
-
setStatus
-
Sets the status code for this response.
-
setSuffix
-
Set suffix used to match request parameter names to form bean property names, if any.
-
setType
-
-
setType
-
-
setType
-
-
setUnknown
-
Set whether Action is configured as the default one for this module.
-
setValidate
-
-
setValue
-
Assigns a new value to a cookie after the cookie is created.
-
size
-
Return the number of errors associated with the specified property or for all properties (including global errors) if property is empty.
-
size
-
Returns the number of properties