Class \Prado\Web\UI\ActiveControls\TActiveHtmlArea
TActiveHtmlArea class
TActiveHtmlArea is the active counterpart to THtmlArea with added support for callback handling and the possibility of setting the content of the WYSIWYG text editor during callback.
Please refer to the original documentation of THtmlArea for basic usage.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveHtmlArea implements IActiveControl, ICallbackEventHandler
- \Prado\Web\UI\WebControls\THtmlArea
- \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.0
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.
|