PHP Class Jarves\File\FileSize

Copyright (c) 2012 Tom Moor Tom Moor, http://tommoor.com MIT Licensed
ファイルを表示 Open project: jarves/jarves Class Usage Examples

Public Methods

Method Description
__construct ( $uri = null )
__destruct ( )
close ( )
getSize ( )
getSizeFromBinary ( $binary )
getType ( )
load ( $uri )
setHandleFromBinary ( $binary )

Private Methods

Method Description
getByte ( )
getChars ( $n )
parseSize ( )
parseSizeForBMP ( )
parseSizeForGIF ( )
parseSizeForJPEG ( )
parseSizeForPNG ( )
readInt ( $str )

Method Details

__construct() public method

public __construct ( $uri = null )

__destruct() public method

public __destruct ( )

close() public method

public close ( )

getSize() public method

public getSize ( )

getSizeFromBinary() public method

public getSizeFromBinary ( $binary )

getType() public method

public getType ( )

load() public method

public load ( $uri )

setHandleFromBinary() public method

public setHandleFromBinary ( $binary )