/lib/jelix/plugins/tpl/common/modifier.implode.php
PHP | 17 lines | 4 code | 1 blank | 12 comment | 0 complexity | fa51e547c3d275151771c83687a570a0 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, BSD-3-Clause, JSON, GPL-3.0, LGPL-3.0
- <?php
- /**
- * Modifier Plugin
- * @package jelix
- * @subpackage jtpl_plugin
- * @author Laurent Jouanneau
- * @link http://jelix.org/
- * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
- */
- /**
- * modifier plugin : apply the implode function on the given value
- * @return string
- */
- function jtpl_modifier_common_implode($arr, $glue = " ") {
- return implode($glue, $arr);
- }