Class: FCKeditor
Source Location: /attributes/fck/fckeditor_php4.php
Class FCKeditor
Property Summary
| string |
$BasePath |
Path to FCKeditor relative to the document root. |
| array |
$Config |
This is where additional configuration can be passed. |
| mixed |
$Height |
Height of the FCKeditor. |
| mixed |
$Width |
Width of the FCKeditor. |
Method Summary
| void |
Create() |
Display FCKeditor. |
| string |
CreateHtml() |
Return the HTML code required to run FCKeditor. |
| string |
EncodeConfig() |
Encode characters that may break the configuration string generated by GetConfigFieldString(). |
| boolean |
IsCompatible() |
Returns true if browser is compatible with FCKeditor. |
Properties
Path to FCKeditor relative to the document root.
This is where additional configuration can be passed.
Example: $oFCKeditor->Config['EnterMode'] = 'br';
Height of the FCKeditor.
Examples: 400, 50%
Name of the FCKeditor instance.
API Tags:
Name of the toolbar to load.
Width of the FCKeditor.
Examples: 100%, 600
Methods
FCKeditor FCKeditor(
string
$instanceName
)
|
|
Main Constructor.
Refer to the _samples/php directory for examples.
Parameters:
Return the HTML code required to run FCKeditor.
string EncodeConfig(
string
$valueToEncode
)
|
|
Encode characters that may break the configuration string generated by GetConfigFieldString().
Parameters:
API Tags:
string GetConfigFieldString(
)
|
|
Get settings from Config array as a single string.
API Tags:
Returns true if browser is compatible with FCKeditor.