DLEditArea

This module is for the WYSIWYG editor EditArea.

Summary
DLEditAreaThis module is for the WYSIWYG editor EditArea.
AuthorDuc Tri Le <cmsmadesimple---at---email.tiger-inc.com>
LicenseThis class is released under the GNU General Public License.
Changelog
Class Construction
__constructCreate a new instance of DLEditArea.
Override Methods
Tabs
ShowPreviewTabRetrieve the HTML for the Preview tab.
ShowSettingsTabRetrieve the HTML for the Settings tab.
Upgrades and Degrades
DegradeUndo any upgrades that has been made.
WYSIWYG

Author

Duc Tri Le <cmsmadesimple---at---email.tiger-inc.com>

License

This class is released under the GNU General Public License.

Changelog

  • 1.0RC2 (December 12, 2008): Updated EditArea to version 0.7.2.3.  Internationalize more of the text.
  • 1.0RC1 (September 5, 2008): Updated EditArea to version 0.7.1.3 as well as fixed the replace by tabs bug.  Also added ability to change the languages now.  Make all methods part of this file (except for methods that exists in CMSModule) rather than being in their own file for better performance.  Changed documentation type to using NaturalDocs.
  • 0.2 (May 30, 2008): Bug fix for Module Manager.
  • 0.1 (May 30, 2008): Initial release.
  • 0.0 (May 22, 2008): Started.

Class Construction

__construct

public function __construct()

Create a new instance of DLEditArea.

Returns

(DLEditArea) An instance of DLEditArea.

Override Methods

Methods

AllowAutoUpgradeWhether or not an auto upgrade is allowed.
GetAboutGet about information.
GetAdminSectionGet the admin section this module belongs to.
GetAuthorGet the author.
GetAuthorEmailGet the author e-mail address.
GetChangeLogGet the changelog.
GetDependenciesGet other modules depended by this module.
GetDescriptionGet a description of module.
GetFriendlyNameGet module friendly name.
GetHelpGet help information.
GetNameGet module name.
GetParametersGet parameters.
GetVersionGet version number of module.
HasAdminWhether or not module has admin panel.
InstallPostMessageMessage to be displayed after installation.
IsAdminOnlyWhether or not this is on admin side only.
IsSyntaxHighlighterWhether or not this is a syntax highlighter.
IsWYSIWYGWhether or not this is a WYSIWYG.
MinimumCMSVersionMinimum CMS version to run this module.
UninstallPostMessageMessage to be displayed after uninstall.
UninstallPreMessageMessage to be alerted before uninstall.

Tabs

ShowPreviewTab

public function ShowPreviewTab()

Retrieve the HTML for the Preview tab.

Returns

(string) The HTML for the Preview tab.

ShowSettingsTab

public function ShowSettingsTab()

Retrieve the HTML for the Settings tab.

Returns

(string) The HTML for the Settings tab.

Upgrades and Degrades

Degrade

protected function Degrade($start,
$counter)

Undo any upgrades that has been made.

Parameters

$start(int) The starting degrading method.
$counter(int) The number of degrading that needs to be done.

WYSIWYG

Methods

SyntaxGenerateHeaderGenerate the header code.
SyntaxPageFormSubmitGenerate the code in the form submit.
SyntaxTextareaGenerate the editor.
WYSIWYGGenerateHeaderGenerate the header code.
WYSIWYGPageFormSubmitGenerate the code in the form submit.
WYSIWYGTextareaGenerate the editor.
public function __construct()
Create a new instance of DLEditArea.
public function ShowPreviewTab()
Retrieve the HTML for the Preview tab.
public function ShowSettingsTab()
Retrieve the HTML for the Settings tab.
protected function Degrade($start,
$counter)
Undo any upgrades that has been made.