summaryrefslogtreecommitdiff
path: root/tests/UnitTests/__shared/PHPunitplugins/block.dummyblock.php
blob: b20ca8ec4a5ceef2037eb2212859d148292f09d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Smarty block plugin dummy for testing plugin functionallity
 *


 */
/**
 * Smarty {dummyblock} {/dummyblock}
 *
 * @param $params
 * @param $content
 * @param $template
 * @param $repeat
 */
function smarty_block_dummyblock($params, $content, $template, &$repeat)
{
    if (is_null($content)) {
        return;
    } else {
        return $content;
    }
}