GetFileTypeProps (open)

Check file type properties

Syntax

LOADLIB "mod::publisher/lib/publisher.whlib";

RECORD FUNCTION GetFileTypeProps(INTEGER gettype)

Parameters

INTEGER gettype

File type to check

Return value

RECORD

A record describing the requested type, or a non-existing record if this type does not exist

extensions

A string array of common extensions for this file type

isAcceptableIndex

Is this file acceptable as an index document?

isBaseable

Can be used with based on

isPublishable

Is the file publishable

isPublishedAsSubdir

Will this document be published into a subdirectory?

isWithRealContent

File has real (sensible) content

needsTemplate

Files of this type must be associated with a template

publishintosubdir

Files of this type are always published into a subdirectory

Description

Check file type properties, based on the file type