Skip to content

Commit

Permalink
Follow up to 6d90568, missed a reference to the object style
Browse files Browse the repository at this point in the history
  • Loading branch information
Woody Gilk committed Aug 16, 2010
1 parent 6d90568 commit a75b535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guide/security.validation.md
Expand Up @@ -109,7 +109,7 @@ Any custom rules can be added using a [PHP callback](http://php.net/manual/langu

[!!] Currently (v3.0.7) it is not possible to use an object for a rule, only static methods and functions.

The method `$model->unique_username()` would be defined similar to:
The method `User_Model::unique_username()` would be defined similar to:

public static function unique_username($username)
{
Expand Down

0 comments on commit a75b535

Please sign in to comment.