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.
コード例 #1
0
ファイル: MimeTypeTest.php プロジェクト: horde/horde
 /**
  * @expectedException Horde_Kolab_Storage_Data_Exception
  */
 public function testUndefinedMimeFolderType()
 {
     Horde_Kolab_Storage_Object_MimeType::getMimeTypesFromFolderType('UNDEFINED');
 }