1WebCommon.incomingFileExists(3Kkaayyaa)module refWeerbeCnocmemon.incomingFileExists(3kaya)
2
3
4

NAME

6       WebCommon::incomingFileExists  - Check if any files are uploaded with a
7       particular key name
8

SYNOPSIS

10       Bool incomingFileExists( String key )
11

ARGUMENTS

13       key The key to check for files
14

DESCRIPTION

16       Returns true if any files have been uploaded with this key  name.  This
17       is  generally better than catching WebCommon.NotIncoming (3kaya) excep‐
18       tions from WebCommon.incomingFile (3kaya)
19
20
21
22    if (incomingFileExists("picture")) {
23        pic = incomingFile("picture");
24        myUploadProcessor(pic);
25    }
26

AUTHORS

28       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
29       (kaya@kayalang.org). For further information see http://kayalang.org/
30

LICENSE

32       The  Kaya  standard  library  is free software; you can redistribute it
33       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
34       License  (version  2.1  or  any later version) as published by the Free
35       Software Foundation.
36
38       WebCommon.allowFileUploads (3kaya)
39       WebCommon.incomingExists (3kaya)
40       WebCommon.incomingFile (3kaya)
41       WebCommon.incomingFileKeys (3kaya)
42       WebCommon.incomingFiles (3kaya)
43
44
45
46Kaya                             December 20W1e0bCommon.incomingFileExists(3kaya)
Impressum