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

file

Methods

Properties

Constants

Errors

Append
BifernoPath
CheckPath
Close
Copy
Delete
Exists
fchmod
fgetmod
Flush
Get
GetNextLine
IsAlias
IsFolder
IsOpen
Lock
MakeAlias
Move
NativePath
Open
Put
Rename
ResolveAlias
ResolvePath
symlink
Unlock
creatTime
curLine
curPos
group
isAlias
isOpen
length
modifTime
name
openMode
osCreator
osType
path
permission
resForkLength
user
all
createFileAlways
createFileNew
dontOpen
EOF
isAliasBit
isFolderBit
openFileAlways
openFileExisting
r
rw
S_IRGRP
S_IROTH
S_IRUSR
S_IWGRP
S_IWOTH
S_IWUSR
S_IXGRP
S_IXOTH
S_IXUSR
ErrBadLen
ErrBadName
ErrBadOffset
ErrBadOpenMode
ErrBadOSTypeOrCreator
ErrBadPermission
ErrCantOpenAlias
ErrFileIsNotOpen
ErrItemIsFolder
ErrNoMoreLinesInFile

Class
Description:

n.a.

Implementation:
C
 

Constructor
void file(string path, int openMode, int permission=rw)
Description:

Describes a file

Parameters:
path

is the path of the file. If it begins with "file://" then it is absolute. If it begins with "/" then it is relative to the web server. In all other cases it is relative to the current folder (the one of the caller script).

openMode

Can be: constant.file.openFileAlways: if the file doesn't exist it is created and opened constant.file.openFileExisting: if the file doesn't exist an error is returned constant.file.createFileNew: creates a new file, if a file exists in that location an error is returned constant.file.createFileAlways: creates a new file, if a file exists in that location it is deleted and substituted by the new one constant.file.dontOpen: doesn't open the file The default is openFileExisting

permission

Can be: constant.file.rw: read and write constant.file.r: only read The default is rw

Returns:

An instance of the 'file' class

Implementation:
C