Class \Prado\Web\UI\WebControls\TStyle
TStyle class
TStyle encapsulates the CSS style applied to a control.
Class hierarchy
Author: Qiang Xue <qiang.xue@gmail.com>Since: 3.0
public
|
|
public
|
|
public
|
addAttributesToRender(THtmlWriter $writer) : mixed
Adds attributes related to CSS styles to renderer.
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
setCustomStyle(string $value) : mixed
Sets custom style fields from a string.
Custom style fields will be overwritten by style fields explicitly defined. |
public
|
|
public
|
|
public
|
|
public
|
setStyleField(string $name, string $value) : mixed
Sets a single style field value.
Style fields set by this method will overwrite those set by setCustomStyle. |
public
|
|
protected
|
_getZappableSleepProps(array<string|int, mixed> &$exprops) : mixed
Returns an array with the names of all variables of this object that should NOT be serialized
because their value is the default one or useless to be cached for the next page loads.
Reimplement in derived classes to add new variables, but remember to also to call the parent implementation first. |
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |