| Syntax |
$profiler.dump{filename}{append} |
||||||||||||||||||
| Documentation | Indicate that the profiler trace is requested. Parameters:
append, an optional parameter to specify if the content of the given file shall be overwriten by the current profiler trace or if the current profiler trace should be appended to the content of the file. The default value is 0 for overwritte, the value 1 stands for append.
|
||||||||||||||||||
| Examples | |||||||||||||||||||
$try{$createGroup{guest_group}}{Group already exists} $try{$createUser{guest}{guest}}{User already exists} $try{$addToGroup{guest}{guest_group}}{} $grantGroupAccess{guest_group}{ACCESS_READ} $try{$sql{drop table CUSTOMER}}{} $sql{create table CUSTOMER(name varchar,firstname varchar,email varchar)} $profiler{off} $profiler{dump} Result: Returns an exact profile for executing each SITEFORUM Script Function between starting (on) and stopping (off) the profiler. 'Dump' displays the result:
|
|||||||||||||||||||
| Group | Special | ||||||||||||||||||
| Minimum required transaction-mode: | NONE | ||||||||||||||||||
| Required scripting permission of the developer | PERMISSION_FL_BASIC | ||||||||||||||||||
| Minimum parameters | 0 | ||||||||||||||||||
| Maximum parameters | 0 | ||||||||||||||||||