Inheritance diagram for BaseCrons:

Provides ip based restrictions, defaults to blank template, provides hooks to email admins.
Definition at line 8 of file base-crons.inc.php.
Public Member Functions | |
| init ($page=null, $vars=null) | |
| preps all pages for crons | |
| draw () | |
| draws our page w/ title and status. | |
| emailAdmins ($subject, $body) | |
| email a message to all the admins | |
Protected Member Functions | |
| getAdmins () | |
| attempts to get a list of admins by directly hitting users table. | |
|
|
draws our page w/ title and status. very basic. Reimplemented from BaseModule. Definition at line 32 of file base-crons.inc.php. |
|
||||||||||||
|
email a message to all the admins
Definition at line 65 of file base-crons.inc.php. References getAdmins(). |
|
|
attempts to get a list of admins by directly hitting users table. you may want to override this with more specific behaviour for your site.
Definition at line 46 of file base-crons.inc.php. References dbFetchAssoc(), and dbQuery(). Referenced by emailAdmins(). |
|
||||||||||||
|
preps all pages for crons sets template to blank, makes sure you're an admin and/or from the right IP address ( as per 'cron_request_ip' config value)
Reimplemented from BaseModule. Definition at line 16 of file base-crons.inc.php. References Config::get(), and BaseModule::setTemplate(). |
1.3.9.1