Smarty
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Source for file modifier.bit_short_date.php

Documentation is available at modifier.bit_short_date.php

  1. <?php
  2. /**
  3.  * Smarty plugin
  4.  * @package Smarty
  5.  * @subpackage plugins
  6.  */
  7.  
  8. /**
  9.  * required setup
  10.  */
  11. global $gBitSmarty;
  12. $gBitSmarty->loadPlugin('smarty_modifier_bit_date_format');
  13.  
  14. /**
  15.  * smarty_modifier_bit_short_date
  16.  */
  17. function smarty_modifier_bit_short_date$pString {
  18.     global $gBitSystem;
  19.     return smarty_modifier_bit_date_format$pString$gBitSystem->get_short_date_format()'%d %b %Y' );
  20. }
  21. ?>

Documentation generated on Wed, 29 Jul 2015 13:57:09 +0000 by phpDocumentor 1.5.0-lsces