AdministrationUrlHelperGetDocumentTypeIconPath Method |
Returns path to the icon image for the specified document type.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static string GetDocumentTypeIconPath(
string theme,
string className,
string iconSet = null,
bool checkFile = true,
bool ensureDefaultTheme = true
)
Parameters
- theme
- Type: SystemString
Current theme - className
- Type: SystemString
Name of the class - iconSet (Optional)
- Type: SystemString
Name of the subfolder where icon images are located - checkFile (Optional)
- Type: SystemBoolean
Indicates if the required icon exists in the file system - ensureDefaultTheme (Optional)
- Type: SystemBoolean
Indicates if default theme should be always used
Return Value
Type:
StringSee Also