getMimeTypesFromFolderType() public static method

Determine the mime type given the type of the folder that holds the object.
public static getMimeTypesFromFolderType ( string $type ) : array
$type string The folder type.
return array The mime types associated to the folder type.
Exemplo n.º 1
0
 /**
  * @expectedException Horde_Kolab_Storage_Data_Exception
  */
 public function testUndefinedMimeFolderType()
 {
     Horde_Kolab_Storage_Object_MimeType::getMimeTypesFromFolderType('UNDEFINED');
 }