TopLevel Advertisers.php - jcobban/Genealogy GitHub Wiki
This script implements the interface for promoting Advertisers. Each Advertiser
is represented by an instance of class Advertiser. This script is invoked by method='get'
for initial display, in particular from the top level Services.php. It is re-invoked by method='post'
if the user makes changes to the Advertiser
information.
When invoked by method='get'
it supports the following parameters:
parameter | description |
---|---|
'pattern' | a regular expression pattern to select which Advertisers to include. |
'offset' | the starting offset within the matching Advertisers. Default 0. |
'limit' | the maximum number of matching Advertisers to display at a time. Default 20. |
'lang' | the language selection |
When invoked by method='post'
it supports the following parameters:
parameter | description |
---|---|
'pattern' | a regular expression pattern to select which Advertisers to include. |
'oldadname9999' | the account name identifying the Advertiser |
'adname9999' | if different from oldadname9999 this is a request to change the name of the Advertiser |
'ademail9999' | the email of the account contact at the Advertiser |
'deleteAdvertiser9999' | if present requests the script to delete the instance of Advertiser with the specified value for column 'row '. |
'offset' | the starting offset within the matching Advertisers. Default 0. |
'limit' | the maximum number of matching Advertisers to display at a time. Default 20. |
'lang' | the language selection |
This script is only available to site administrators. Other users will never see a link to this page and if they manually enter the URL will only see an error message indicating that they are not authorized.
Related to this is the script ListOfAdvertisers.php which displays the advertisements from all of the Advertisers.
Next: BlogPost.js