Advertiser::increment - jcobban/Genealogy GitHub Wiki

$advertiser->increment($month)

Up: class Advertiser

This method increments the access counter for the specified month by 1. If the value of the parameter is not between 1 and 12 the request is ignored. Note that this method updates the database record immediately so the update is atomic.

Next: $advertiser->save($xml)