Biferno 1.7 Tabasoft.it

Application: ItaliaScuola Back-Office3
Reference
Admin | Edit | Reference | Cache | Logs
Click on a class name to see the description of that particular class:

Predefined Classes

ansi
array
biferno
boolean
cacheItem
char
classInfo
client
collection
curApp
curFile
curScript
db
double
error
file
folder
header
httpPage
imageUtils
int
long
memberInfo
multipart
object
ref
regexp
request
search
serverInfo
smtp
stackItem
string
time
unix
unsigned
 

Application Classes

Banner
BrowserBar
Ctrl_Form
FCKeditor
Form
GridChartGraph
Histogram
LocalDate
Result
condb
cookie
folderExt
headerExt
httpExt
mysqlFulltext
objHtml
requestExt
tableExport
utils
 

Functions

Functions

folder

Methods

Properties

Constants

Errors

Create
Delete
fchmod
fgetmod
MakeAlias
Rename
Walk
creatTime
group
modifTime
name
openMode
path
user
createFolderIfNeeded
createFolderNew
folderExisting
S_IRGRP
S_IROTH
S_IRUSR
S_IWGRP
S_IWOTH
S_IWUSR
S_IXGRP
S_IXOTH
S_IXUSR
ErrBadName
ErrBadOpenMode
ErrFolderExists
ErrFolderNotFound
ErrItemIsAlias
ErrItemIsNotFolder

Class
Description:

n.a.

Implementation:
C
 

Constructor
void folder(string path, int openMode)
Description:

When a folder class variable is instantiated by passing to the class constructor a string containing the path to a directory, we can decide if we wish to create a new directory or to have the object point to an existing directory. The folder class constructor has the same parameters of the file class constructor, except the permission parameter. The prototype is: folder(string path, int openMode)

Parameters:
path

The path of the folder (directory)

openMode

Can be:

createFolderIfNeeded: creates a new directory if the directory does not exist. Otherwise the object points to the existing directory.

createFolderNew: creates a new directory if the directory does not exist. Otherwise an error is generated .

olderExisting: does not create a new directory. If the directory does not exist an error is generated

The default is folderExisting

Returns:

An instance of class folder pointing the the folder at path location

Implementation:
C