plugins : "contextmenu,paste"
language : "zh_cn"
Mostrar archivo
Open project: pradosoft/prado
Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
getAutoPostBack ( ) : boolean | ||
getAvailablePlugins ( ) : array | Returns a list of plugins to be loaded. | |
getAvailableThemes ( ) : array | ||
getCulture ( ) : string | Gets the current culture. | |
getCustomPluginPath ( ) : string | ||
getEnableCompression ( ) : boolean | ||
getEnableVisualEdit ( ) : boolean | ||
getOptions ( ) : string | Gets the list of options for the WYSIWYG (TinyMCE) editor | |
getTextMode ( ) : string | Overrides the parent implementation. | |
setCulture ( $value ) | Sets the culture/language for the html area | |
setCustomPluginPath ( $value ) | ||
setEnableCompression ( $value ) | ||
setEnableVisualEdit ( $value ) | Sets whether to show WYSIWYG text editor. | |
setOptions ( $value ) | Sets the list of options for the WYSIWYG (TinyMCE) editor | |
setTextMode ( $value ) | Overrides the parent implementation. |
Method | Description | |
---|---|---|
addAttributesToRender ( $writer ) | Adds attribute name-value pairs to renderer. | |
copyCustomPlugins ( $url ) | ||
getClientClassName ( ) : string | Gets the name of the javascript class responsible for performing postback for this control. | |
getEditorOptions ( ) : array | Default editor options gives basic tool bar only. | |
getLanguageSuffix ( $culture ) : string | ||
getScriptDeploymentPath ( ) : string | Gets the editor script base URL by publishing the tarred source via TTarAssetManager. | |
getScriptUrl ( ) : string | ||
loadJavascriptLibrary ( ) | ||
parseEditorOptions ( $string ) : array | Parse additional options set in the Options property. | |
registerEditorClientScript ( $writer ) | Registers the editor javascript file and code to initialize the editor. |
protected addAttributesToRender ( $writer ) |
public getAutoPostBack ( ) : boolean | ||
return | boolean | whether change of the content should cause postback. Return false if EnableVisualEdit is true. |
public getAvailablePlugins ( ) : array | ||
return | array | list of plugins to be loaded |
public getAvailableThemes ( ) : array | ||
return | array | list of available themese |
protected getClientClassName ( ) : string | ||
return | string | the javascript class name |
public getCulture ( ) : string | ||
return | string | current culture, e.g. en_AU. |
public getCustomPluginPath ( ) : string | ||
return | string | path to custom plugins to be copied. |
protected getEditorOptions ( ) : array | ||
return | array | editor initialization options. |
public getEnableCompression ( ) : boolean | ||
return | boolean | enable compression of the javascript files, default is false. |
public getEnableVisualEdit ( ) : boolean | ||
return | boolean | whether to show WYSIWYG text editor. Defaults to true. |
protected getLanguageSuffix ( $culture ) : string | ||
return | string | localized editor interface language extension. |
public getOptions ( ) : string | ||
return | string | options |
protected getScriptDeploymentPath ( ) : string | ||
return | string | URL base path to the published editor script |
protected getScriptUrl ( ) : string | ||
return | string | editor script URL. |
public getTextMode ( ) : string | ||
return | string | the behavior mode of the THtmlArea component. |
protected parseEditorOptions ( $string ) : array | ||
return | array | additional custom options |
protected registerEditorClientScript ( $writer ) |
public setEnableVisualEdit ( $value ) |
public setOptions ( $value ) |
public setTextMode ( $value ) |