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

Procedural File: modifier.display_bytes.php

Source Location: /themes/smartyplugins/modifier.display_bytes.php



Page Details:

Smarty plugin



Tags:

filesource:  Source Code for this file








smarty_modifier_display_bytes [line 17]

void smarty_modifier_display_bytes( $pSize, [ $pDecimalPlaces = 1])

Smarty plugin

------------------------------------------------------------- Type: modifier Name: display_bytes Purpose: show an integer in a human readable Byte size with optional resolution Example: {$someFile|filesize|display_bytes:2} -------------------------------------------------------------




Parameters

   $pSize  
   $pDecimalPlaces  
[ Top ]



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