Class | Description |
---|---|
![]() |
Base element for dijit elements |
![]() |
Base element for XHTML elements |
Default view helper to use
'Allow empty' flag
Flag indicating whether or not to insert NotEmpty validator when element is required
Array to which element belongs
Element decorators
Element description
Should we disable loading the default decorators?
Custom error messages
Separator to use when concatenating aggregate error messages (for
elements having array values)
Validation errors
Element filters
Ignore flag (used when retrieving values at form level)
Does the element represent an array?
Is the error marked as in an invalid state?
Has the element been manually marked as invalid?
Is a specific decorator being rendered via the magic renderDecorator()?
This is to allow execution of logic inside the render() methods of child elements during the magic call while skipping the parent render() method.
Element label
Plugin loaders for filter and validator chains
Formatted validation error messages
Element name
Order of element
Required flag
Is translation disabled?
Element type
Array of un-initialized validators
Array of initialized validators
Element value
Add a decorator for rendering the element
Add many decorators at once
Add an error message and mark element as failed validation
Add a custom error message to return in the event of failed validation
Add multiple custom error messages to return in the event of failed validation
Add multiple error messages and flag element as failed validation
Add a filter to the element
Add filters to element
Add prefix path for plugin loader
If no $type specified, assumes it is a base path for both filters and validators, and sets each according to the following rules:
Add many prefix paths at once
Add validator to validation chain
Note: will overwrite existing validators if they are of the same class.
Add multiple validators
Get flag indicating whether a NotEmpty validator should be inserted when element is required
Clear custom error messages stack
Clear all filters
Clear all validators
Constructor
$spec may be:
Filter a name to only allow valid variable characters
Get 'allow empty' flag
Retrieve element attribute
Return all attributes
Return array name to which element belongs
Retrieve a registered decorator
Retrieve all decorators
Retrieve element description
Retrieve custom error messages
Get errorMessageSeparator
Retrieve validator chain errors
Retrieve a single filter by name
Get all filters
Get fully qualified name
Places name as subitem of array and/or appends brackets.
Get element id
Get ignore flag (used when retrieving values at form level)
Retrieve element label
Retrieve error messages
Return element name
Retrieve element order
Retrieve plugin loader for validator or filter chain
Instantiates with default rules if none available for that type. Use 'decorator', 'filter', or 'validate' for $type.
Retrieve localization translator object
Return element type
Retrieve unfiltered element value
Retrieve a single validator by name
Retrieve all validators
Retrieve filtered element value
Retrieve view object
Retrieves from ViewRenderer if none previously set.
Are there errors registered?
Does this element have its own specific translator?
Initialize object; used by extending classes
Is the element representing an array?
Is the element required?
Validate element value
If a translation adapter is registered, any error messages will be translated according to the current locale, using the given error code; if no matching translation is found, the original message will be utilized.
Note: The *filtered* value is validated.
Load default decorators
Should we load the default decorators?
Mark the element as being in a failed validation state
Remove a single decorator
Remove a filter by name
Remove a single validator by name
Render form element
Set 'allow empty' flag
When the allow empty flag is enabled and the required flag is false, the element will validate with empty values.
Set element attribute
Set multiple attributes at once
Set flag indicating whether a NotEmpty validator should be inserted when element is required
Set array to which element belongs
Overwrite all decorators
Set element description
Set flag to disable loading default decorators
Indicate whether or not translation should be disabled
Same as addErrorMessages(), but clears custom error message stack first
Set errorMessageSeparator
Overwrite any previously set error messages and flag as failed validation
Add filters to element, overwriting any already existing
Set ignore flag (used when retrieving values at form level)
Set flag indicating if element represents an array
Set object state from options array
Set plugin loader to use for validator or filter chain
Set required flag
Set translator object for localization
Set multiple validators, overwriting previous validators
Set element value
Set view object
Is translation disabled?
Filter a value
Instantiate a decorator based on class name or class name fragment
Retrieve error messages and perform translation and value substitution
Are there custom error messages registered?
Lazy-load a decorator
Lazy-load a filter
Lazy-load a validator
Overloading: allow rendering specific decorators
Call renderDecoratorName() to render a specific decorator.
Overloading: retrieve object property
Prevents access to properties beginning with '_'.
Overloading: set object property
String representation of form element
Proxies to render().
Documentation generated on Mon, 21 Jun 2010 15:18:42 -0400 by phpDocumentor 1.4.3