GetFileTypeProps (open)
Check file type properties
Syntax
LOADLIB "mod::publisher/lib/publisher.whlib";
RECORD FUNCTION GetFileTypeProps(INTEGER gettype)Parameters
INTEGER gettypeFile type to check
Return value
RECORDA record describing the requested type, or a non-existing record if this type does not exist
extensionsA string array of common extensions for this file type
isAcceptableIndexIs this file acceptable as an index document?
isBaseableCan be used with based on
isPublishableIs the file publishable
isPublishedAsSubdirWill this document be published into a subdirectory?
isWithRealContentFile has real (sensible) content
needsTemplateFiles of this type must be associated with a template
publishintosubdirFiles of this type are always published into a subdirectory
Description
Check file type properties, based on the file type