MINORE: updated documentation

This commit is contained in:
Saophalkun Ponlu 2009-02-17 03:43:44 +00:00
parent c36ed78758
commit d77104a7dc

View File

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