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

Class: PhpIndex_Action_Info

Source Location: /Action/Info.php

Class Overview


File information


Author(s):

  • Indiana Jones

Version:

  • 1.0

Copyright:

  • 2010 PhpIndex

Methods



Class Details

[line 19]
File information

$Id: Info.php 209 2011-02-21 19:05:38Z indy $

$LastChangedBy: indy $

$LastChangedDate: 2011-02-21 21:05:38 +0200 (Mon, 21 Feb 2011) $

$Rev: 209 $




Tags:

author:  Indiana Jones
version:  1.0
copyright:  2010 PhpIndex


[ Top ]


Class Methods


static method friendlyFileSize [line 173]

static string friendlyFileSize( integer $size)

Display file size in friendly format



Tags:

access:  public


Parameters:

integer   $size   File size in bytes

[ Top ]

static method getIconFilePath [line 152]

static string getIconFilePath( string $extension, [boolean $webOutput = false])

Get icon file path



Tags:

access:  public


Parameters:

string   $extension   File extension
boolean   $webOutput   Image needs to be output for web or not

[ Top ]

constructor __construct [line 33]

void __construct( )

Constructor



Tags:

access:  public


[ Top ]

method getInfo [line 80]

array getInfo( string $fileName, string $filePath, [boolean $computeMd5 = false])

Get file/directory info



Tags:

access:  public


Parameters:

string   $fileName   File name
string   $filePath   File path
boolean   $computeMd5   Flag to know if MD5 checksum needs to be computed

[ Top ]

method run [line 45]

void run( string $request)

Main run method



Tags:

access:  public


Parameters:

string   $request   Request string

[ Top ]


Documentation generated on Mon, 21 Feb 2011 21:14:13 +0200 by phpDocumentor 1.4.3