| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
| Copyright: | Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
| License: | http://framework.zend.com/license/new-bsd New BSD License |
| Version: | $Id: Abstract.php 24807 2012-05-15 12:10:42Z adamlundrigan $ |
| File Size: | 456 lines (12 kb) |
| Included or required: | 2 times |
| Referenced: | 0 times |
| Includes or requires: | 2 files include/Zend/Registry.php include/Zend/Validate/Interface.php |
| getMessages() X-Ref |
| Returns array of validation failure messages return: array |
| getMessageVariables() X-Ref |
| Returns an array of the names of variables that are used in constructing validation failure messages return: array |
| getMessageTemplates() X-Ref |
| Returns the message templates from the validator return: array |
| setMessage($messageString, $messageKey = null) X-Ref |
| Sets the validation failure message template for a particular key param: string $messageString param: string $messageKey OPTIONAL return: Zend_Validate_Abstract Provides a fluent interface |
| setMessages(array $messages) X-Ref |
| Sets validation failure message templates given as an array, where the array keys are the message keys, and the array values are the message template strings. param: array $messages return: Zend_Validate_Abstract |
| __get($property) X-Ref |
| Magic function returns the value of the requested property, if and only if it is the value or a message variable. param: string $property return: mixed |
| _createMessage($messageKey, $value) X-Ref |
| Constructs and returns a validation failure message with the given message key and value. Returns null if and only if $messageKey does not correspond to an existing template. If a translator is available and a translation exists for $messageKey, the translation will be used. param: string $messageKey param: string $value return: string |
| _error($messageKey, $value = null) X-Ref |
param: string $messageKey param: string $value OPTIONAL return: void |
| _setValue($value) X-Ref |
| Sets the value to be validated and clears the messages and errors arrays param: mixed $value return: void |
| getErrors() X-Ref |
| Returns array of validation failure message codes return: array |
| setObscureValue($flag) X-Ref |
| Set flag indicating whether or not value should be obfuscated in messages param: bool $flag return: Zend_Validate_Abstract |
| getObscureValue() X-Ref |
| Retrieve flag indicating whether or not value should be obfuscated in messages return: bool |
| setTranslator($translator = null) X-Ref |
| Set translation object param: Zend_Translate|Zend_Translate_Adapter|null $translator return: Zend_Validate_Abstract |
| getTranslator() X-Ref |
| Return translation object return: Zend_Translate_Adapter|null |
| hasTranslator() X-Ref |
| Does this validator have its own specific translator? return: bool |
| setDefaultTranslator($translator = null) X-Ref |
| Set default translation object for all validate objects param: Zend_Translate|Zend_Translate_Adapter|null $translator return: void |
| getDefaultTranslator() X-Ref |
| Get default translation object for all validate objects return: Zend_Translate_Adapter|null |
| hasDefaultTranslator() X-Ref |
| Is there a default translation object set? return: boolean |
| setDisableTranslator($flag) X-Ref |
| Indicate whether or not translation should be disabled param: bool $flag return: Zend_Validate_Abstract |
| translatorIsDisabled() X-Ref |
| Is translation disabled? return: bool |
| getMessageLength() X-Ref |
| Returns the maximum allowed message length return: integer |
| setMessageLength($length = -1) X-Ref |
| Sets the maximum allowed message length param: integer $length |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |