Browse files

updated help block

  • Loading branch information...
1 parent 3b98f8f commit 6bc7a1a3f257f673353d0fb32386872cf93f6ca6 @marcopeg marcopeg committed Oct 25, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Cake/Model/Validator/CakeValidationRule.php
View
3 lib/Cake/Model/Validator/CakeValidationRule.php
@@ -257,6 +257,9 @@ public function isUpdate($exists = null) {
/**
* Dispatches the validation rule to the given validator method
*
+ * Use "PluginName.ClassName::method" as validation rule name to refer to a custom validator object.
+ * /App/Plugin/Model/Validation/ClassName.php
+ *
* @return boolean True if the rule could be dispatched, false otherwise
*/
public function process($field, &$data, &$methods) {

0 comments on commit 6bc7a1a

Please sign in to comment.