예제 #1
0
 public function getPeriod($code)
 {
     $p = \Fuse_Period::getPredefined();
     if (isset($p[$code])) {
         return $p[$code];
     }
     $p = new \Fuse_Period($code);
     return $p->getTitle();
 }
예제 #2
0
 /**
  * Return list of available payment periods
  * 
  * @return array
  */
 public function periods()
 {
     return \Fuse_Period::getPredefined();
 }