phpDocumentor GalleryCore
Helpers
[ class tree: GalleryCore ] [ index: GalleryCore ] [ all elements ]

Class: GalleryMimeTypeHelper_simple

Source Location: /modules/core/classes/helpers/GalleryMimeTypeHelper_simple.class

Class GalleryMimeTypeHelper_simple

Method Summary
void   convertExtensionToMime()  
void   convertMimeToExtensions()  
void   getMimeType()  
void   isViewableMimeType()  
void   _deleteCache()   Clear cached mime type data
array   &_getMimeData()   Get all mime type data
void   &_getSingleton()   Singleton that can be cleared.

[ Top ]
Methods
convertExtensionToMime  [line 67]

  void convertExtensionToMime( $extension  )

Parameters:
   $extension: 

API Tags:
See:  GalleryCoreApi::convertExtensionToMime


[ Top ]
convertMimeToExtensions  [line 82]

  void convertMimeToExtensions( $mimeType  )

Parameters:
   $mimeType: 

API Tags:
See:  GalleryCoreApi::convertMimeToExtensions


[ Top ]
getMimeType  [line 40]

  void getMimeType( $filename, [ $requestMimeType = null]  )

Parameters:
   $filename: 
   $requestMimeType: 

API Tags:
See:  GalleryCoreApi::getMimeType


[ Top ]
isViewableMimeType  [line 97]

  void isViewableMimeType( $mimeType  )

Parameters:
   $mimeType: 

API Tags:
See:  GalleryCoreApi::isViewableMimeType


[ Top ]
_deleteCache  [line 180]

  void _deleteCache( )

Clear cached mime type data


API Tags:
Access:  private


[ Top ]
_getMimeData  [line 117]

  array &_getMimeData( )

Get all mime type data


API Tags:
Return:  GalleryStatus a status code array('by-extension' => array(string extension => string mime type), 'by-mimetype' => array(string mime => array('exts' => array of strings, 'viewable' => boolean)))
Access:  private


[ Top ]
_getSingleton  [line 171]

  void &_getSingleton( )

Singleton that can be cleared.


API Tags:
Staticvar:  array $mimeData:
Access:  private


[ Top ]

Documentation generated on Fri, 08 Oct 2010 05:00:51 -0700 by phpDocumentor 1.3.0RC6