MINORE: updated documentation

This commit is contained in:
Saophalkun Ponlu 2009-02-17 03:43:44 +00:00
parent c36ed78758
commit d77104a7dc
1 changed files with 2 additions and 1 deletions

View File

@ -27,10 +27,11 @@ class SpamProtecterManager {
* and a string of field names (seperated by comma) as a value.
* The naming of the fields is based on the implementation of the subclass of SpamProtecterField.
* *** Most of the web service doesn't require this.
* @return SpamProtecterField
* @return SpamProtector object
*/
static function update_form($form, $before=null, $callbackObject=null, $fieldsToSpamServiceMapping=null) {
$protecter = new self::$spam_protecter();
$protecter->updateForm($form, $before, $callbackObject, $fieldsToSpamServiceMapping);
return $protecter;
}