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