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

function

Function:

print

void print(string str)

Outputs a string

Description:

Allows to print (insert on the Biferno script output) the value of a variable, a constant, or the result of an expression

Parameters:
str

the string to print

Notes:

Instead of the print keyword it is possible to use the dollar symbol, $. Using the dollar symbol before and after a variable name, its value can be printed outside of the Biferno code delimiters. This is shown in the following example, where the “val” parameter is passed to the “newpage.bfr” page and takes the value of the myString variable, which is output on the HTML page using the $ symbol set before and after the variable name. The delimiter tags of the Biferno code are not used. The next row of code shown an alternative manner of obtaining the same result using the print function.

<?
	myString = "Hello World"
?>
<html><body>
<?
	//Print the value of the myString variable
	print(myString)
	//Same effect as previous instruction
	$myString
?>
<br>
<a href="newpage.bfr?val=$myString$">Nuova Pagina</a>
<a href="otherpage.bfr?val=<? print(myString) ?>">Other Page</a>
</body></html>

See also:

SetCustomOutput

Implementation:
C
 

Return to the function class

Update Man Page