Overview

Namespaces

  • malkusch
    • bav
  • PHP

Classes

  • Agency
  • AutomaticUpdatePlan
  • BAV
  • Configuration
  • ConfigurationRegistry
  • DataBackendContainer
  • DefaultConfiguration
  • DoctrineBackendContainer
  • FileDataBackendContainer
  • LogUpdatePlan
  • PDODataBackendContainer
  • UpdatePlan
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: namespace malkusch\bav;
 4: 
 5: /**
 6:  * Logs a E_USER_WARNING if an update should be performed.
 7:  *
 8:  * @author Markus Malkusch <markus@malkusch.de>
 9:  * @link bitcoin:1335STSwu9hST4vcMRppEPgENMHD2r1REK Donations
10:  * @license GPL
11:  * @api
12:  */
13: class LogUpdatePlan extends UpdatePlan
14: {
15: 
16:     /**
17:      * Log an E_USER_WARNING
18:      */
19:     public function perform(DataBackend $backend)
20:     {
21:         trigger_error(
22:             "bav's bank data is outdated. Update the data with e.g. bin/bav-update.php",
23:             E_USER_WARNING
24:         );
25:     }
26: }
27: 
API documentation generated by ApiGen 2.8.0