components/IconManager.php
protected function getCmtiFileIcon( $fileType ) {

		switch( $fileType ) {

			case FileManager::FILE_TYPE_IMAGE: {

				return 'cmti-image';
			}
			case FileManager::FILE_TYPE_VIDEO: {

				return 'cmti-file-video';
			}
			case FileManager::FILE_TYPE_AUDIO: {

				return 'cmti-file-audio';
			}
			case FileManager::FILE_TYPE_DOCUMENT: {

				return 'cmti-document';
			}
			case FileManager::FILE_TYPE_COMPRESSED: {

				return 'cmti-file-zip';
			}
		}
	}
protected function getCmtiFileIcon( $fileType ) {

		switch( $fileType ) {

			case FileManager::FILE_TYPE_IMAGE: {

				return 'cmti-image';
			}
			case FileManager::FILE_TYPE_VIDEO: {

				return 'cmti-file-video';
			}
			case FileManager::FILE_TYPE_AUDIO: {

				return 'cmti-file-audio';
			}
			case FileManager::FILE_TYPE_DOCUMENT: {

				return 'cmti-document';
			}
			case FileManager::FILE_TYPE_COMPRESSED: {

				return 'cmti-file-zip';
			}
		}
	}
protected function getCmtiFileIcon ( $ fileType ) { switch ( $ fileType ) { case FileManager :: FILE_TYPE_IMAGE : { return 'cmti-image' ; } case FileManager :: FILE_TYPE_VIDEO : { return 'cmti-file-video' ; } case FileManager :: FILE_TYPE_AUDIO : { return 'cmti-file-audio' ; } case FileManager :: FILE_TYPE_DOCUMENT : { return 'cmti-document' ; } case FileManager :: FILE_TYPE_COMPRESSED : { return 'cmti-file-zip' ; } } }
Return the icon corresponding to given file type from CMT IconLib library.

@param string $fileType
@return string
Return the icon corresponding to given file type from CMT IconLib library .