GenericEditor Class Reference

Public Member Functions

 GenericEditor ($name, $content, $rows, $cols, $optAttrib, $webPath)
 getAdvancedEditor ()
 getSimpleEditor ()
 getTextArea ($class= '')

Data Fields

 $name
 $content
 $rows
 $cols
 $optAttrib
 $webPath

Detailed Description

Definition at line 25 of file GenericEditor.class.php.


Member Function Documentation

GenericEditor ( name,
content,
rows,
cols,
optAttrib,
webPath 
)

Definition at line 57 of file GenericEditor.class.php.

getAdvancedEditor (  ) 

Returns the html code needed to display an advanced (default) version of the editor ! Needs to be overloaded by extending classes $returnString .= $this->getTextArea();

Returns:
string html code needed to display an advanced (default) version of the editor

Definition at line 74 of file GenericEditor.class.php.

getSimpleEditor (  ) 

Returns the html code needed to display a simple version of the editor ! Needs to be overloaded by extending classes

Returns:
string html code needed to display a simple version of the editor

Definition at line 84 of file GenericEditor.class.php.

getTextArea ( class = ''  ) 

Returns the html code needed to display the default textarea

private

Returns:
string html code needed to display the default textarea

Definition at line 95 of file GenericEditor.class.php.


Field Documentation

$cols

Definition at line 45 of file GenericEditor.class.php.

$content

Definition at line 35 of file GenericEditor.class.php.

$name

Definition at line 30 of file GenericEditor.class.php.

$optAttrib

Definition at line 50 of file GenericEditor.class.php.

$rows

Definition at line 40 of file GenericEditor.class.php.

$webPath

Definition at line 55 of file GenericEditor.class.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:38 2010 for Claroline API by  doxygen 1.6.3