| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 186 lignes (5 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Validator:: (12 méthodes):
__construct()
setupObject()
addRule()
getRules()
getColumnName()
setColumn()
getColumn()
setTable()
getTable()
setTranslate()
getTranslate()
toString()
| __construct() X-Ref |
| Creates a new column and set the name param: name validator name |
| setupObject() X-Ref |
| Sets up the Validator object based on the attributes that were passed to loadFromXML(). |
| addRule($data) X-Ref |
| Add a Rule to this validator. Supports two signatures: - addRule(Rule $rule) - addRule(array $attribs) param: mixed $data Rule object or XML attribs (array) from <rule/> element. return: Rule The added Rule. |
| getRules() X-Ref |
| Gets an array of all added rules for this validator. return: array Rule[] |
| getColumnName() X-Ref |
| Gets the name of the column that this Validator applies to. return: string |
| setColumn(Column $column) X-Ref |
| Sets the Column object that this validator applies to. param: Column $column |
| getColumn() X-Ref |
| Gets the Column object that this validator applies to. return: Column |
| setTable(Table $table) X-Ref |
| Set the owning Table. param: Table $table |
| getTable() X-Ref |
| Get the owning Table. return: Table |
| setTranslate($method) X-Ref |
| Set the translation mode to use for the message. Currently only "gettext" and "none" are supported. The default is "none". param: string $method Translation method ("gettext", "none"). |
| getTranslate() X-Ref |
| Get the translation mode to use for the message. Currently only "gettext" and "none" are supported. The default is "none". return: string Translation method ("gettext", "none"). |
| toString() X-Ref |
| Gets XML (string) representation of this Validator. return: string |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |