PHP Class MIME, ewiki

Mostrar archivo Open project: patrikf/ewiki Class Usage Examples

Protected Properties

Property Type Description
$cache
$offset
$version

Public Methods

Method Description
__construct ( $mime_cache = '/usr/share/mime/mime.cache' )
bufferGetType ( $buf, $filename = NULL )

Protected Methods

Method Description
bufGuessBinary ( &$buf )
bufMagic ( &$buf, $pri_min, $pri_max )
bufMatchlet ( &$buf, $pos )
bufMatchlets ( &$buf, $pos, $n )
byteswap ( &$a, $word )
glob ( $filename )
literal ( $filename )
nuint32_at ( $pos, $n )
string_at ( $pos )
substr ( $pos, $len )
suffix ( $filename )
uint16_at ( $pos )
uint32_at ( $pos )

Method Details

__construct() public method

public __construct ( $mime_cache = '/usr/share/mime/mime.cache' )

bufGuessBinary() protected method

protected bufGuessBinary ( &$buf )

bufMagic() protected method

protected bufMagic ( &$buf, $pri_min, $pri_max )

bufMatchlet() protected method

protected bufMatchlet ( &$buf, $pos )

bufMatchlets() protected method

protected bufMatchlets ( &$buf, $pos, $n )

bufferGetType() public method

public bufferGetType ( $buf, $filename = NULL )

byteswap() protected static method

protected static byteswap ( &$a, $word )

glob() protected method

protected glob ( $filename )

literal() protected method

protected literal ( $filename )

nuint32_at() protected method

protected nuint32_at ( $pos, $n )

string_at() protected method

protected string_at ( $pos )

substr() protected method

protected substr ( $pos, $len )

suffix() protected method

protected suffix ( $filename )

uint16_at() protected method

protected uint16_at ( $pos )

uint32_at() protected method

protected uint32_at ( $pos )

Property Details

$cache protected_oe property

protected $cache

$offset protected_oe property

protected $offset

$version protected_oe property

protected $version