[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/lib/editor/htmlarea/ -> htmlarea.class.php (summary)

(no description)

File Size: 370 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

htmlarea:: (9 methods):
  htmlarea()
  __construct()
  __is_valid_key()
  __is_valid_value_type()
  setconfig()
  __printconfig()
  starteditor()
  use_html_editor()
  print_speller_code()


Class: htmlarea  - X-Ref

This file contains the htmlarea subclass for moodle editorObject.

htmlarea($courseid)   X-Ref
PHP4 style class constructor.

param: int $courseid Courseid.

__construct($courseid)   X-Ref
PHP5 style class constructor.

param: int $courseid Course id.

__is_valid_key($key)   X-Ref
Check if passed configuration key is valid.

param: string $key
return: bool Return true if key is valid and false if it's not.

__is_valid_value_type($key, $value)   X-Ref
Check if passed value's type is valid.

param: string $key Configuration key name.
param: mixed $value Configuration value.
return: bool Returns true if value is valid type and false if it's not.

setconfig()   X-Ref
Sets configuration key and value pairs.
Passed parameters can be key and value pair or
an associative array of keys and values.


__printconfig($conftype='')   X-Ref
For internal usage. Print out configuration arrays.

param: string $conftype Type of configuration.
return: void

starteditor($configtype='')   X-Ref
Print out code that start up the editor.

param: string $conftype Configuration type to print.

use_html_editor( $name='', $editorhidebuttons='' )   X-Ref
For backward compatibility only.

param: string $name
param: string $editorhidesomebuttons

print_speller_code($usehtmleditor=false)   X-Ref
Prints out needed code for spellchecking.

param: bool $usehtmleditor



Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7