com-tecnick-tcexam-admin
[ class tree: com-tecnick-tcexam-admin ] [ index: com-tecnick-tcexam-admin ] [ all elements ]

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:

author:  Nicola Asuni
copyright:  Copyright © 2004-2010, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2002-02-20
license:  GNU Affero General Public License


Includes:

require_once('../code/tce_functions_upload.php') [line 62]
require_once('../config/tce_config.php') [line 56]






getDirFiles [line 197]

array getDirFiles( string $path, [boolean $sort = true], [ $baselen = 0])

returns an array of files contained on the specified folder and subfolders



Tags:

author:  Nicola Asuni
copyright:  Copyright © 2004-2010, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2009-10-07
license:  GNU Affero General Public License


Parameters

string   $path   initial directory path
boolean   $sort   if true sort in alphabetical ascending order, if false sort in alphabetical descending order òparam int $baselen string lenght of the base dir path.
   $baselen  
[ Top ]



getImageButton [line 175]

XHTML getImageButton( string $callingform, string $callingfield, string $name, string $tag, string $image, [string $onclick = ''], [string $accesskey = ''])

Display one tag button



Tags:

return:  string
author:  Nicola Asuni
copyright:  Copyright © 2004-2010, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2006-03-07
license:  GNU Affero General Public License


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
[ Top ]



tcecodeEditorTagButtons [line 79]

XHTML tcecodeEditorTagButtons( string $callingform, string $callingfield, [int $id = 0])

Display TCExam Code EDITOR Tag Buttons



Tags:

return:  string
author:  Nicola Asuni
copyright:  Copyright © 2004-2010, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2006-03-07
license:  GNU Affero General Public License


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.
[ Top ]



Documentation generated on Sat, 06 Feb 2010 11:32:54 +0100 by phpDocumentor 1.4.3