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

folderExt

Method:

Copy

void Copy(string destPath, string outputCallBack, string filterCallBack, string translateCallBack)

Copies a folder with its content

Description:

Copies the folder from one location to another. All the content of the folder is recursively copied.

Callbacks can be passed to perform advanced operations

Parameters:
destPath

The destination path for the folder

outputCallBack

an optional callback that is called during copy operation to output file/folder names. Prototype:

function void myOutput(string text)

(the "print" function can be passed as a valid callback)

If empty no output is generated

filterCallBack

an optional callback that is called during copy operation to avoid some copy. Prototype:

function boolean MyFilter(string path,
			boolean isFolder)

the function must return false if the file has to be skipped (not copied) true otherwise. The second parameter specify if the item is a folder (if false, it is a normal file).

If empty no filter is applied

translateCallBack

an optional callback that is called after the copy operation on each file. The user has the opportunity to make changes on file copied. Prototype:

function void MyTranslateExt(string path)

If empty no callback is called

Implementation:
Biferno
 

Return to the folderExt class