Esempio n. 1
0
 /**
  * method to retrieve the tariff instance
  * 
  * @return Billrun_Subscriber
  */
 public static function tariff()
 {
     if (!self::$tariff) {
         $tariffSettings = self::config()->getConfigValue('tariff', array());
         self::$tariff = Billrun_Tariff::getInstance($tariffSettings);
     }
     return self::$tariff;
 }