PageRenderTime 43ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/jelix/plugins/tpl/common/modifier.implode.php

https://bitbucket.org/jelix/jelix-trunk/
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
  1. <?php
  2. /**
  3. * Modifier Plugin
  4. * @package jelix
  5. * @subpackage jtpl_plugin
  6. * @author Laurent Jouanneau
  7. * @link http://jelix.org/
  8. * @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
  9. */
  10. /**
  11. * modifier plugin : apply the implode function on the given value
  12. * @return string
  13. */
  14. function jtpl_modifier_common_implode($arr, $glue = " ") {
  15. return implode($glue, $arr);
  16. }