|
| setLowercase ($flag) |
| Set lowercase flag.
|
|
| getLowercase () |
| Retrieve lowercase flag.
|
|
| setPropercase ($flag) |
| Set propercase flag.
|
|
| getPropercase () |
| Retrieve propercase flag.
|
|
| setUppercase ($flag) |
| Set uppercase flag.
|
|
| getUppercase () |
| Retrieve uppercase flag.
|
|
| setTrim ($flag) |
| Set trim flag.
|
|
| getTrim () |
| Retrieve trim flag.
|
|
| setMaxLength ($length) |
| Set maxLength.
|
|
| getMaxLength () |
| Retrieve maxLength.
|
|
| __construct ($spec, $options=null) |
| Constructor.
|
|
| setDijitParam ($key, $value) |
| Set a dijit parameter.
|
|
| setDijitParams (array $params) |
| Set multiple dijit params at once.
|
|
| hasDijitParam ($key) |
| Does the given dijit parameter exist?
|
|
| getDijitParam ($key) |
| Get a single dijit parameter.
|
|
| getDijitParams () |
| Retrieve all dijit parameters.
|
|
| removeDijitParam ($key) |
| Remove a single dijit parameter.
|
|
| clearDijitParams () |
| Clear all dijit parameters.
|
|
| loadDefaultDecorators () |
| Load default decorators.
|
|
| setView (Zend_View_Interface $view=null) |
| Set the view object.
|
|
| __construct ($spec, $options=null) |
| Constructor.
|
|
| init () |
| Initialize object; used by extending classes.
|
|
| setDisableLoadDefaultDecorators ($flag) |
| Set flag to disable loading default decorators.
|
|
| loadDefaultDecoratorsIsDisabled () |
| Should we load the default decorators?
|
|
| loadDefaultDecorators () |
| Load default decorators.
|
|
| setOptions (array $options) |
| Set object state from options array.
|
|
| setConfig (Zend_Config $config) |
| Set object state from Zend_Config object.
|
|
| setTranslator ($translator=null) |
| Set translator object for localization.
|
|
| getTranslator () |
| Retrieve localization translator object.
|
|
| hasTranslator () |
| Does this element have its own specific translator?
|
|
| setDisableTranslator ($flag) |
| Indicate whether or not translation should be disabled.
|
|
| translatorIsDisabled () |
| Is translation disabled?
|
|
| filterName ($value, $allowBrackets=false) |
| Filter a name to only allow valid variable characters.
|
|
| setName ($name) |
| Set element name.
|
|
| getName () |
| Return element name.
|
|
| getFullyQualifiedName () |
| Get fully qualified name.
|
|
| getId () |
| Get element id.
|
|
| setValue ($value) |
| Set element value.
|
|
| getValue () |
| Retrieve filtered element value.
|
|
| getUnfilteredValue () |
| Retrieve unfiltered element value.
|
|
| setLabel ($label) |
| Set element label.
|
|
| getLabel () |
| Retrieve element label.
|
|
| setOrder ($order) |
| Set element order.
|
|
| getOrder () |
| Retrieve element order.
|
|
| setRequired ($flag=true) |
| Set required flag.
|
|
| isRequired () |
| Is the element required?
|
|
| setAutoInsertNotEmptyValidator ($flag) |
| Set flag indicating whether a NotEmpty validator should be inserted when element is required.
|
|
| autoInsertNotEmptyValidator () |
| Get flag indicating whether a NotEmpty validator should be inserted when element is required.
|
|
| setDescription ($description) |
| Set element description.
|
|
| getDescription () |
| Retrieve element description.
|
|
| setAllowEmpty ($flag) |
| Set 'allow empty' flag.
|
|
| getAllowEmpty () |
| Get 'allow empty' flag.
|
|
| setIgnore ($flag) |
| Set ignore flag (used when retrieving values at form level)
|
|
| getIgnore () |
| Get ignore flag (used when retrieving values at form level)
|
|
| setIsArray ($flag) |
| Set flag indicating if element represents an array.
|
|
| isArray () |
| Is the element representing an array?
|
|
| setBelongsTo ($array) |
| Set array to which element belongs.
|
|
| getBelongsTo () |
| Return array name to which element belongs.
|
|
| getType () |
| Return element type.
|
|
| setAttrib ($name, $value) |
| Set element attribute.
|
|
| setAttribs (array $attribs) |
| Set multiple attributes at once.
|
|
| getAttrib ($name) |
| Retrieve element attribute.
|
|
| getAttribs () |
| Return all attributes.
|
|
| setConcatJustValuesInErrorMessage ($concatJustValuesInErrorMessage) |
| Use one error message for array elements with concatenated values.
|
|
| getConcatJustValuesInErrorMessage () |
| Use one error message for array elements with concatenated values.
|
|
| __get ($key) |
| Overloading: retrieve object property.
|
|
| __set ($key, $value) |
| Overloading: set object property.
|
|
| __call ($method, $args) |
| Overloading: allow rendering specific decorators.
|
|
| setPluginLoader (Zend_Loader_PluginLoader_Interface $loader, $type) |
| Set plugin loader to use for validator or filter chain.
|
|
| getPluginLoader ($type) |
| Retrieve plugin loader for validator or filter chain.
|
|
| addPrefixPath ($prefix, $path, $type=null) |
| Add prefix path for plugin loader.
|
|
| addPrefixPaths (array $spec) |
| Add many prefix paths at once.
|
|
| addValidator ($validator, $breakChainOnFailure=false, $options=array()) |
| Add validator to validation chain.
|
|
| addValidators (array $validators) |
| Add multiple validators.
|
|
| setValidators (array $validators) |
| Set multiple validators, overwriting previous validators.
|
|
| getValidator ($name) |
| Retrieve a single validator by name.
|
|
| getValidators () |
| Retrieve all validators.
|
|
| removeValidator ($name) |
| Remove a single validator by name.
|
|
| clearValidators () |
| Clear all validators.
|
|
| isValid ($value, $context=null) |
| Validate element value.
|
|
| addErrorMessage ($message) |
| Add a custom error message to return in the event of failed validation.
|
|
| addErrorMessages (array $messages) |
| Add multiple custom error messages to return in the event of failed validation.
|
|
| setErrorMessages (array $messages) |
| Same as addErrorMessages(), but clears custom error message stack first.
|
|
| getErrorMessages () |
| Retrieve custom error messages.
|
|
| clearErrorMessages () |
| Clear custom error messages stack.
|
|
| getErrorMessageSeparator () |
| Get errorMessageSeparator.
|
|
| setErrorMessageSeparator ($separator) |
| Set errorMessageSeparator.
|
|
| markAsError () |
| Mark the element as being in a failed validation state.
|
|
| addError ($message) |
| Add an error message and mark element as failed validation.
|
|
| addErrors (array $messages) |
| Add multiple error messages and flag element as failed validation.
|
|
| setErrors (array $messages) |
| Overwrite any previously set error messages and flag as failed validation.
|
|
| hasErrors () |
| Are there errors registered?
|
|
| getErrors () |
| Retrieve validator chain errors.
|
|
| getMessages () |
| Retrieve error messages.
|
|
| addFilter ($filter, $options=array()) |
| Add a filter to the element.
|
|
| addFilters (array $filters) |
| Add filters to element.
|
|
| setFilters (array $filters) |
| Add filters to element, overwriting any already existing.
|
|
| getFilter ($name) |
| Retrieve a single filter by name.
|
|
| getFilters () |
| Get all filters.
|
|
| removeFilter ($name) |
| Remove a filter by name.
|
|
| clearFilters () |
| Clear all filters.
|
|
| setView (Zend_View_Interface $view=null) |
| Set view object.
|
|
| getView () |
| Retrieve view object.
|
|
| addDecorator ($decorator, $options=null) |
| Add a decorator for rendering the element.
|
|
| addDecorators (array $decorators) |
| Add many decorators at once.
|
|
| setDecorators (array $decorators) |
| Overwrite all decorators.
|
|
| getDecorator ($name) |
| Retrieve a registered decorator.
|
|
| getDecorators () |
| Retrieve all decorators.
|
|
| removeDecorator ($name) |
| Remove a single decorator.
|
|
| clearDecorators () |
| Clear all decorators.
|
|
| render (Zend_View_Interface $view=null) |
| Render form element.
|
|
| __toString () |
| String representation of form element.
|
|
| isValid ($value) |
| Returns true if and only if $value meets the validation requirements.
|
|