Smart.Framework Logo

class \SmartModExtLib\JsComponents\TextEditor
{ } ::

Class: TextEditor (JS Component)


class Methods

public static function html_jsload_texteditarea ( $y_filebrowser_link = "" ) {} :: STRING
@return: {STRING} [HTML Code]
Outputs the HTML Code to init the Text Editor component
public static function html_js_texteditarea ( STRING $yid, STRING $yvarname, STRING $yvalue = "", INTEGER+ $ywidth = "720px", INTEGER+ $yheight = "480px", BOOLEAN $y_allow_scripts = false, BOOLEAN $y_allow_script_src = false, MIXED $y_cleaner_deftags = "", ENUM $y_cleaner_mode = "", STRING $y_toolbar_ctrls = "" ) {} :: STRING
@return: {STRING} [HTML Code]
@param: {STRING} $yid: [Unique HTML Page Element ID]
@param: {STRING} $yvarname: [HTML Form Variable Name]
@param: {STRING} $yvalue: [HTML Data]
@param: {INTEGER+} $ywidth: [Area Width: (Example) 720px or 75%]
@param: {INTEGER+} $yheight: [Area Height (Example) 480px or 50%]
@param: {BOOLEAN} $y_allow_scripts: [Allow JavaScripts]
@param: {BOOLEAN} $y_allow_script_src: [Allow JavaScript SRC attribute]
@param: {MIXED} $y_cleaner_deftags: ['' or array of HTML Tags to be allowed / dissalowed by the cleaner ... see HTML Cleaner Documentation]
@param: {ENUM} $y_cleaner_mode: [HTML Cleaner mode for defined tags: ALLOW / DISALLOW]
@param: {STRING} $y_toolbar_ctrls: [Toolbar Controls: ... see CKEditor Documentation]
Draw a TextArea with the javascript Text Editor component
public static function html_js_texteditarea_fm_callback ( STRING $yurl, BOOLEAN $is_popup = false ) {} :: STRING
@return: {STRING} [JS Code]
@param: {STRING} $yurl: The Callback URL
@param: {BOOLEAN} $is_popup: Set to True if Popup (incl. Modal)
Returns the HTML / Javascript code for CallBack Mapping for Text Editor component - FileBrowser Integration

class Properties


class Constants



documentation generated on: 2023-10-19 23:15:58 +0000


Smart.Framework © 2009-2023 unix-world.org