lib/ezutils/classes/ezmimetype.php

Show: inherited
Table of Contents

File containing the eZMimeType class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
lib  
Version
4.6.0  

\eZMimeType

Package: lib

File containing the eZMimeType class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Properties

Propertypublic  $MIMEList= ''
Details
Type
n/a
Propertypublic  $PrefixList= ''
Details
Type
n/a
Propertypublic  $QuickContentMatch= 'array( array( array( 0, 'string', 'GIF87a', 'image/gif' ), array( 0, 'string', 'GIF89a', 'image/gif' ) ) )'
Default valuearray( array( array( 0, 'string', 'GIF87a', 'image/gif' ), array( 0, 'string', 'GIF89a', 'image/gif' ) ) )Details
Type
n/a
Propertypublic  $QuickMIMETypes= 'array()'
Default valuearray()Details
Type
n/a
Propertypublic  $SuffixList= ''
Details
Type
n/a

Methods

methodpublicchangeBasename(  $mimeInfo,  $basename ) : void
static

Parameters
Name Type Description
$mimeInfo
$basename
methodpublicchangeDirectoryPath(  $mimeInfo,  $dirpath ) : void
static

Parameters
Name Type Description
$mimeInfo
$dirpath
methodpublicchangeFileData(  $mimeInfo,  $dirpath = false,  $basename = false,  $suffix = false,  $filename = false ) : void
static

Parameters
Name Type Description
$mimeInfo
$dirpath
$basename
$suffix
$filename
methodpublicchangeMIMEType(  $mimeInfo,  $mimetype ) : void
static

Parameters
Name Type Description
$mimeInfo
$mimetype
methodpublicdefaultMimeType( ) : void
static

methodpublicdefaultValue(  $url,  $returnDefault ) : void
static

Parameters
Name Type Description
$url
$returnDefault
methodpubliceZMimeType( ) : void

methodpublicfindByBuffer(  $buffer,  $length = false,  $offset = false,  $url = false,  $returnDefault = true ) : void
static

Parameters
Name Type Description
$buffer
$length
$offset
$url
$returnDefault
methodpublicfindByFileContents(  $url,  $returnDefault = true ) : void
static

Parameters
Name Type Description
$url
$returnDefault
methodpublicfindByName(  $mimeName,  $returnDefault = true ) : void
static

Parameters
Name Type Description
$mimeName
$returnDefault
methodpublicfindByURL(  $url,  $returnDefault = true ) : void
static

Parameters
Name Type Description
$url
$returnDefault
methodpublicinstance( ) : \eZMimeType
static

Returns a shared instance of the eZMimeType class.

Returns
Type Description
\eZMimeType
methodpublicmimeTypeFor(  $path,  $file ) : void
static

Parameters
Name Type Description
$path
$file
methodpublicpreparePrefixList(  $prefixList,  $mimeList ) : void
static

Parameters
Name Type Description
$prefixList
$mimeList
methodpublicprepareSuffixList(  $suffixList,  $mimeList ) : void
static

Parameters
Name Type Description
$suffixList
$mimeList
Documentation was generated by DocBlox 0.18.1.