Procedural File: tce_functions_tcecode_editor.php
Source Location: /admin/code/tce_functions_tcecode_editor.php
Page Details:
Functions for custom mark-up language editor.
Tags:
getDirFiles [line 147]
array getDirFiles(
string $path, [ $baselen = 0])
|
|
returns an array of files contained on the specified folder and subfolders
Tags:
Parameters
string |
$path |
initial directory path òparam int $baselen string lenght of the base dir path. |
|
$baselen |
|
getImageButton [line 126]
XHTML getImageButton(
string $callingform, string $callingfield, string $name, string $tag, string $image, [string $onclick = ''], [string $accesskey = ''])
|
|
Display one tag button
Tags:
Parameters
string |
$callingform |
name of calling xhtml form |
string |
$callingfield |
name of calling form field (textarea where output code will be sent) |
string |
$name |
name of the button |
string |
$tag |
tag value |
string |
$image |
image file of button |
string |
$onclick |
default onclick action |
string |
$accesskey |
accesskey: character for keyboard shortcut |
tcecodeEditorTagButtons [line 65]
XHTML tcecodeEditorTagButtons(
string $callingform, string $callingfield, [int $id = 0])
|
|
Display TCExam Code EDITOR Tag Buttons
Tags:
Parameters
string |
$callingform |
name of calling xhtml form |
string |
$callingfield |
name of calling form field (textarea where output code will be sent) |
int |
$id |
id appended to input fields names to differentiate from previous buttons. |
|
|