Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   GetFileTypeProps
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
Websites/CMS
Website development
Publication functions
 
Functions for publisher database
Navigation path library
Provides HTML output control functions
Templates
Utility library for static publications
GetFileTypeProps
  Check file type properties
 
Library module::publisher/publisher.whlib
 
Syntax PUBLIC RECORD FUNCTION GetFileTypeProps (INTEGER type)
 
Description Check file type properties, based on the file type
 
Parameters
type File type to check
 
Returns A record describing the requested type, or a non-existing record if this type does not exist
  The record contains the following cells:
isSourceEditable Does the file have an editable source
isPublishable Is the file publishable
isBaseable Can be used with based on
isWithRealContent File has real (sensible) content
isPublishedAsSubdir Will this document be published into a subdirectory?
isAcceptableIndex Is this file acceptable as an index document?
needsTemplate Files of this type must be associated with a template
needsprofile Files of this type must be associated with a coversion profile
publishintosubdir Files of this type are always published into a subdirectory
extensions A string array of common extensions for this file type
 
 
In library 'publisher'
FindFile
FindFileByFullPath
FindFileByName
FindFolder
FindFolderByFullPath
FindFolderByName
FindSite
FindSiteByName
GetAllFileTypes
GetContentFileTypeProps
GetFileSubpageURL
GetFileTypeProps
GetFolderTree
GetFolderTreeIDS
GetPublisherVersion
IsFolderAncestorOf
ReadConversionProfile
 
Top To top of page