| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 203 lignes (7 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Rule:: (12 méthodes):
setupObject()
setValidator()
getValidator()
setClass()
getClass()
setName()
getName()
setValue()
getValue()
setMessage()
getMessage()
toString()
| setupObject() X-Ref |
| Sets up the Rule object based on the attributes that were passed to loadFromXML(). |
| setValidator(Validator $validator) X-Ref |
| Sets the owning validator for this rule. param: Validator $validator |
| getValidator() X-Ref |
| Gets the owning validator for this rule. return: Validator |
| setClass($classname) X-Ref |
| Sets the dot-path name of class to use for rule. If no class is specified in XML, then a classname will be built based on the 'name' attrib. param: string $classname dot-path classname (e.g. myapp.propel.MyValidator) |
| getClass() X-Ref |
| Gets the dot-path name of class to use for rule. If no class was specified, this method will build a default classname based on the 'name' attribute. E.g. 'maxLength' -> 'propel.validator.MaxLengthValidator' return: string dot-path classname (e.g. myapp.propel.MyValidator) |
| setName($name) X-Ref |
| Sets the name of the validator for this rule. This name is used to build the classname if none was specified. param: string $name Validator name for this rule (e.g. "maxLength", "required"). |
| getName() X-Ref |
| Gets the name of the validator for this rule. return: string Validator name for this rule (e.g. "maxLength", "required"). |
| setValue($value) X-Ref |
| Sets the value parameter for this validator rule. Note: not all validators need a value parameter (e.g. 'required' validator does not). param: string $value |
| getValue() X-Ref |
| Gets the value parameter for this validator rule. return: string |
| setMessage($message) X-Ref |
| Sets the message that will be displayed to the user if validation fails. This message may be a Gettext msgid (if translation="gettext") or some other id for an alternative not-yet-supported translation system. It may also be a simple, single-language string. param: string $message |
| getMessage() X-Ref |
| Gets the message that will be displayed to the user if validation fails. This message may be a Gettext msgid (if translation="gettext") or some other id for an alternative not-yet-supported translation system. It may also be a simple, single-language string. return: string |
| toString() X-Ref |
| Create XML (string) representation of this object. return: string |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |