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()); }
/** * 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); ///////////////////////////// }
function renderPaysys(Am_Paysystem_Description $p) { return sprintf(' <b>%s</b><br /><span class="small">%s</span>', $p->getTitle(), $p->getDescription()); }