Class \Prado\Web\UI\ActiveControls\TActiveRatingList
TActiveRatingList Class
Displays clickable images that represent a TRadioButtonList
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveRatingList implements IActiveControl, ICallbackEventHandler
- \Prado\Web\UI\WebControls\TRatingList
- \Prado\Web\UI\WebControls\TRadioButtonList
- \Prado\Web\UI\WebControls\TCheckBoxList implements IRepeatInfoUser, INamingContainer, IPostBackDataHandler, IValidatable
- \Prado\Web\UI\WebControls\TListControl implements IDataRenderer
- \Prado\Web\UI\WebControls\TDataBoundControl
- \Prado\Web\UI\WebControls\TWebControl implements IStyleable
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Author: Bradley Booms <bradley[dot]booms[at]gmail[dot]com>
Since: 3.1
public
|
__construct() : mixed
Creates a new callback control, sets the adapter to
TActiveListControlAdapter. 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
|
|
public
|
|
public
|
|
protected
|
addAttributesToRender(mixed $writer) : mixed
Ensure that the ID attribute is rendered and registers the javascript code
for initializing the active control.
|
protected
|
callClientFunction(string $func, mixed $value) : mixed
Calls the client-side static method for this control class.
|
protected
|
getClientClassName() : string
Gets the name of the javascript class responsible for performing postback for this control.
This method overrides the parent implementation. |