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

Class: PhpLight_Util_File

Source Location: /Util/File.php

Class Overview


PhpLight File util class


Methods



Class Details

[line 21]
PhpLight File util class



[ Top ]


Class Methods


static method friendlyFileSize [line 88]

static string friendlyFileSize( integer $size)

Display file size in friendly format



Tags:

access:  public


Parameters:

integer   $size  

[ Top ]

static method tail [line 31]

static array|false tail( string $file, integer $lines, [boolean $reverse = false])

Return the last lines from a file



Tags:

access:  public


Parameters:

string   $file   File to read
integer   $lines   Number of lines to return
boolean   $reverse   If set to true, the lines will be reversed

[ Top ]


Documentation generated on Fri, 07 Oct 2011 08:06:19 +0300 by phpDocumentor 1.4.3