-
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.
-
getAttribute
-
Returns the attribute with the given name, or null if there is no attribute by that name.
-
getAttributeNames
-
Returns an array containing the attribute names available within this context.
-
getDataSource
-
Return the specified data source for the current module.
-
getDataSource
-
Return the specified data source for the current module.
-
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.
-
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.
-
getList
-
-
getLocale
-
Return the user's currently selected Locale.
-
getModuleConfig
-
Return the module configuration object for the currently selected module.
-
getOrder
-
-
getRealPath
-
Returns the real path for a given virtual path.
-
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.
-
getResources
-
Return the specified or default (key = "") message resources for the current module.
-
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
-
-
getValues
-
Get the replacement values for this message.
-
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.
-
$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.
-
init
-
Initialize this service.
-
init
-
Initialize this request processor instance.
-
init
-
Receive notification that the specified module is being started up.
-
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.
-
isCancelled
-
Returns true if the current form's cancel button was pressed.
-
isEmpty
-
Return true if there are no errors recorded in this collection, or false otherwise.
-
$processor
-
The PHRUTS_RequestProcessor instance we will use to process all incoming requests.
-
PHRUTS_Action.php
-
-
PHRUTS_ActionError.php
-
-
PHRUTS_ActionErrors.php
-
-
PHRUTS_ActionForm.php
-
-
PHRUTS_ActionService.php
-
-
PHRUTS_PlugIn.php
-
-
PHRUTS_RequestProcessor.php
-
-
PHRUTS_ServiceContext.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_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_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_RequestProcessor
-
PHRUTS_RequestProcessor contains the processing logic that the PHruts controller service performs as it receives each service request.
-
PHRUTS_ServiceContext
-
Defines a set of methods that a controller service uses to get initialization parameters and store glogal attributes.
-
process
-
Perform the standard request processing for this request, and create the corresponding response.
-
process
-
Process a PHRUTS_HttpServiceRequest and create the corresponding PHRUTS_HttpServiceResponse.
-
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.
-
$service
-
The controller service we are associated with.
-
$service
-
The controller service instance to which we are attached.
-
$service
-
The controller service to which we are attached.
-
$serviceConfig
-
The service configuration object associated with this context.
-
$serviceContext
-
Service context.
-
saveErrors
-
Save the specified error messages keys into the appropriate request attribute, if any messages are required.
-
setAttribute
-
Binds an object to a given attribute name in this context.
-
setList
-
-
setLocale
-
Set the user's currently selected PHRUTS_Locale.
-
setOrder
-
-
setRequestDispatcher
-
Set the request dispatcher object associated with this context.
-
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).
-
size
-
Return the number of errors associated with the specified property or for all properties (including global errors) if property is empty.