Files
smarty/tests/UnitTests/__shared/PHPunitplugins/block.dummyblock.php

24 lines
371 B
PHP
Raw Normal View History

<?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;
}
}