Class \Prado\Web\UI\ActiveControls\TActiveHtmlArea5
TActiveHtmlArea5 class
TActiveHtmlArea5 is the active counterpart to THtmlArea5 with added support for callback handling and the possibility of setting the content of the WYSIWYG text editor during callback.
For basic usage please refer to the original documentation of THtmlArea5.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveHtmlArea5 implements IActiveControl, ICallbackEventHandler
- \Prado\Web\UI\WebControls\THtmlArea5
- \Prado\Web\UI\WebControls\TTextBox implements IPostBackDataHandler, IValidatable, IDataRenderer
- \Prado\Web\UI\WebControls\TWebControl implements IStyleable
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 4.2
public
|
__construct() : mixed
Creates a new callback control, sets the adapter to
TActiveControlAdapter. If you override this class, be sure to set the
adapter appropriately by, for example, by calling this constructor.
|
public
|
|
public
|
|
public
|
onCallback(TCallbackEventParameter $param) : mixed
This method is invoked when a callback is requested. The method raises
'OnCallback' event to fire up the event handlers. If you override this
method, be sure to call the parent implementation so that the event
handler can be invoked.
|
public
|
raiseCallbackEvent(TCallbackEventParameter $param) : mixed
Raises the callback event. This method is required by {@see
ICallbackEventHandler} interface.
This method is mainly used by framework and control developers. |
public
|
setText(string $value) : mixed
Client-side Text property can only be updated after the OnLoad stage. Setting WYSIWYG
text editor content is only available if {@see getEnableVisualEdit} is enabled.
|