示例#1
0
 function renderPaysys(Am_Paysystem_Description $p)
 {
     return sprintf('<span class="am-paysystem-title">%s</span> <span class="am-paysystem-desc">%s</span>', $p->getTitle(), $p->getDescription());
 }
示例#2
0
文件: Abstract.php 项目: grlf/eyedock
 /**
  * Constructor
  * @param array $config
  */
 function __construct(Am_Di $di, array $config)
 {
     parent::__construct($di, $config);
     /** @todo remove this crap */
     $ps = new Am_Paysystem_Description($this->getId(), $this->getTitle(), $this->getDescription(), $this->isRecurring());
     $ps->setPublic(true);
     $di->paysystemList->add($ps);
     /////////////////////////////
 }
示例#3
0
 function renderPaysys(Am_Paysystem_Description $p)
 {
     return sprintf('&nbsp;<b>%s</b><br /><span class="small">%s</span>', $p->getTitle(), $p->getDescription());
 }