rendering of edit subscription form

This commit is contained in:
Jonathan Labreuille
2016-02-26 19:59:55 +01:00
parent e6337216cf
commit d2be407ccb
4 changed files with 138 additions and 10 deletions

View File

@ -39,8 +39,7 @@ class Renderer {
}
}
// private: rendering methods
private static function renderBlocks($blocks = array()) {
static function renderBlocks($blocks = array()) {
$html = '';
foreach ($blocks as $key => $block) {
$html .= static::renderBlock($block)."\n";
@ -49,7 +48,7 @@ class Renderer {
return $html;
}
private static function renderBlock($block = array()) {
static function renderBlock($block = array()) {
$html = '';
switch($block['type']) {
case 'html':