SproutCMS

This is the code documentation for the SproutCMS project

function humanSize()

Converts a file size, in bytes, into a human readable form (with trailing kb, mb, etc)

Usage

string File::humanSize ( int $size );

Arguments

  1. int $size
    Size in bytes

Return value

  • string